Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Notices
Notices
Safety Notices
Please observe all safety markings and instructions when
using this product.
Disclaimer of Liability
Every care has been taken in the preparation of this manual;
if you detect any inaccuracies or omissions, please inform us
at an address which can be found at the back of the manual.
Aptilo Networks cannot be held responsible for any technical
or typographical errors and reserves the right to make
changes to the product and manuals without prior notice.
APTILO NETWORKS AB MAKES NO WARRANTY OF
ANY KIND WITH REGARD TO THE MATERIAL
CONTAINED WITHIN THIS DOCUMENT, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE.
APTILO NETWORKS AB SHALL NOT BE LIABLE NOR
RESPONSIBLE FOR INCIDENTAL OR
CONSEQUENTIAL DAMAGES IN CONNECTION WITH
THE FURNISHING, PERFORMANCE OR USE OF THIS
MATERIAL.
Notes:
Trademark Acknowledgments
Bluetooth is a trademark owned by the Bluetooth SIG, Inc.
Ethernet and Windows, are registered trademarks of their
respective holders.
Software Acknowledgements
This product includes software developed by:
Copyright Information
The unauthorized copying of materials that are covered by
Support Services
For operational support regarding this functionality, please
refer to your Support Agreement with your service provider.
In the Support Agreement you will find details on included
services and your contact information.
Table of contents
Table of contents
1.
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.
Solution overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.1 Network overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.2 Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.3 Usage data & statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.
Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4.
Network configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.1 Service Portal - main page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.2 Control Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4.3 Legal Intercept . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.4 System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.5 Network and node configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5. Report configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5.1
5.2
5.3
5.4
5.5
Monitoring overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Introduction
1. Introduction
This manual describes how to set up and use the Aptilo Service Portal, which is a
product in the Aptilo product portfolio.
The Service Portal complements existing products by being the main tool for automatic
processing and display of data output from the solution; including usage data,
aggregated statistics and monitoring data.
The significant benefits of the Aptilo Service Portal are:
The Aptilo Service Portal solution also offers the operator the possibility to provide this
information partly or to the full extent to their customers. This is done by creating
external or internal customer adapted venue portals. The web-application providing
these portals are delivered as a separate web-application that can be hosted on almost
any commercial web-server. The information is then exported from the service portal
node to the external web-server
1.1
Definitions
Solution overview
2. Solution overview
The Aptilo Service Portal is a separate node in the Aptilo Hotspot Solution. It currently
has two main feature areas, monitoring and statistics.
Our aim is to provide a simple-to-use, cost-effective and feature-rich alterative
tailor-made for the hotspot/broadband/visitor network scenario.
With the Aptilo Service Portal installed, operators are able to:
Solution overview
2.1
Network overview
The complete solution consists of the following main nodes:
The access network nodes placed at the venue property. These nodes collects
network status and usage information from the local network and passes that information to the central nodes.
The central AAA, payment and network management nodes. These nodes collects the status and usage information from each venue site/sub-site and passes that
information to the Service Node
The Service Node, this node collects the information from many central nodes,
stores it and generate reports, graphs and network data in a format that can be display to the different users. It also exports information to one or more internal or
external venue portals
The public web-server node hosting the Venue Portal application. This node
allows users to get access to their part of the information through a very end-user
friendly interface.
Solution overview
2.2
Monitoring
The monitoring functionality in the Aptilo Service Portal provides tools for viewing the
status of the complete hotspot network, including not only the Aptilo components
(MAS, PAS and AC's) but also other network elements such as routers and switches.
Also the status of critical processes, such as links to external systems, can be included.
The network status is displayed using a tree view. In the tree view, status is propagated
upwards to cater for status overview at higher levels in the tree.
The monitoring functionality in the Service Platform consist of four main parts:
Node Monitoring, Monitoring of Aptilo MAS's, PAS's and other network
elements in the hotspot network
Tree Display of Network Status, Based on Node Monitoring and Alarm
Collection. Allows viewing hotspot networks status on different levels.
Status History Logs, Status history is stored and viewable node by node in the
Service Portal
The Aptilo solution uses a distributed monitoring model, which means the monitoring is
performed in a distributed fashion and then the status is communicated to the Aptilo
Service Portal. This means that e.g. the ACs monitors access points (and other local
network elements), the MAS monitors ACs and the Service Portal monitors MAS'es.
2.3
Solution overview
Usage data
The Aptilo MAS generates usage data output, which any external application can access
via the usage data Interface of the Aptilo MAS. The Aptilo Service Portal also fetches
data via this MAS interface and stores it in the Service Portal database. In the Service
Portal, the detailed log of usage events can be viewed by users.
Usage data records from the MAS includes AC Auto-Initialization completed, PAS
start page accessed, PAS top-up page accessed, PAS transaction completed, session
established, session purged, session terminated, user account created and many more.
Events include information such as time, location and other important attributes.
Statistics
The Aptilo Service Portal also regularly collects usage data directly from AC's (e.g.
every 5 or 10 minutes).Values collected can typically be number of ongoing sessions,
and bandwidth consumed at the hotspot. The AC provides statistic values separated per
subnet.
Statistical values from the AC's can be used to produce graphs, which are made
available to users in the Venue Portal. Other portal values, such as report results, etc.,
can naturally also be displayed as graphs.
Reports
Reports are generated from the usage data to target specific information needs. For
example, reports can summarize values such as usage generated from a specific
roaming partner or a certain site. Other examples are reports giving summeries of
voucher accounts usage.
The configuration of the report generator is highly flexible to cater for the unique needs
of portal users in the best possible way. The administrator can choose from a choice of
report types, define time interval and the form of presentation.
Installation
3. Installation
This chapter describes how the Aptilo Service Portal should be installed. It is a separate
logical node in the Aptilo Hotspot Solution. It should be installed on top of the
Linux-based Aptilo Base Platform software on an x86 server.
3.1
Installation
Hardware and network requirements
Aptilo Service Portal HW
The Aptilo Service Portal can be installed on almost any standard server supporting
Linux (x86 processor).
To verify if your hardware of choice has been certified for the relevant Linux base used
for the Aptilo solution, please verify with Aptilo support which version of Redhat that
your Aptilo sw is based on and check the hardware compatibility list on the RedHat
web site: http://hardware.redhat.com/hcl/
The installation erases the disk completely and installs its own Linux operating system.
Everything needed is included in the installation, no additional software should be
installed on the computer.
Network connection
The Aptilo Service Portal interacts mainly with MAS-servers and one or more
web-servers hosting the venue portals. If the connections to these servers are protected
by a firewall, then please make sure that the following ports are opened in the firewall
protecting the service portal:
* If connection tracking is not supported, then these ports marked ConnT* need to be
open both for out & in
Installation
The firewall protecting the Aptilo MAS needs to be set up to allow:
20/TCP+UDP in : FTP
21/TCP+UDP in : FTP
2345/TCP in: Aptilo MAS-ServicePortal communication
Note that when doing installation on some servers with new hard disks an error will be
presented informing that no hard disk can be found. If that happens, please reboot the
server using Ctrl Alt Delete and the installation will work the second time.
Network configuration
4. Network configuration
To configure the Aptilo Service Portal, the web interface should be used.
The default web password is the last 5 characters of the license key.
The overall configuration process is done in four separate parts:
4.1
The main page Service Portal is a status overview. This page will show information
about server status, service status and status of the the venue portals.
The service status summary will show an OK, warning or Not OK for each area. If there
is a problem or a warning, one row per error will be displayed.
10
Network configuration
The section Venue Portals shows the time stamp when the venue portal was last
updated. The name is also a link that will open the selected venue portal directly.
4.2
Control Panel
Changes
Configuration changes are made in two steps. The changes are first saved locally on the
page where the actual change was made (for example Custom Reports or Venue
Portals).
If there are locally saved changes, a text will be shown on top of the page to let you
know that you hve unsaved changes. The next step is to save or rollback the changes.
Commit: the new configuration is saved and taken into operations using the
commit command.
Uncommitted changes are rolled back automatically when the admin user
has been idle for 30 minutes.
Rollback: if the new configuration was saved locally, but it should not be taken
into operation, the command rollback can be used to get the old configuration
back.
Most parameters, functions and buttons have online help instructions linked to the item.
MAS Node
This is a list of all monitored MAS nodes and that date when the last time the
configuration was fetched. This is done automatically in regular intervals. Click on
11
Network configuration
Reload when all available configuration should be collected immediately.
Venue Portals
This is a list of the created Venue Portals and the date when the last update was done.
To trigger a new update manually, click on Rebuild.
Active Users
A list of all logged in users in the service portal is displayed. The list shows if a user has
unsaved changes and how long it takes before the session will time out.
Service Status Details
Details of the service status. This is updated on regular basis but it is possible to update
the detailed spa-check by clicking on New Check
Network: If gateway, hostname, name server are ok.
Services: Check if the used services are ok.
Node: If the node is reachable, if MAS configuration is fetched, if MAS status is
identified, status fetched and processing
Database performance:Check events in database.
Usage data: If the data has been fetched from MAS.
Report engine: If the reports are OK and when the last update occurred and the
duration of the update.
Venue Portal: If the venue portal is created, if data has been uploaded to the
external venue portal and if the internal portal is updated.
4.3
Legal Intercept
Legal intercept allows a service provider to tie network activity to a specific IP. When
the service provider has received a search request from a law enforcement agency, a
search can be made to obtain information about a user.The Service Portal is gathering
the connection tracking logs from the MAS.
WARNING! You are only allowed to use the legal intercept if you have permission
from a law enforcement agency.
12
Network configuration
Parameters to set in SPA to be able to search. All parameters are mandatory. Wild
card can be used (*):
Destination IP: The destination for the communication in the perspective of an
end user.
Outgoing IP: The outgoing IP is either the ACs IP if NAT is used or the clients
IP if public IP addresses are used.
Start date: The start date for the search interval, should be in the format:
YYYY-MM-DD
Start time: The start time for the search interval, should be in the format:
HH:MM:SS and in UTC time.
End date: The end date for the search interval, should be in the format:
YYYY-MM-DD
End time: The end time for the search interval, should be in the format:
HH:MM:SS and in UTC time.
If any event was found that matches the input, the users that had a session during the
search interval and matches the client IP will be extracted to a file. Note that the output
will be extracted in UTC time.
The link to the result file will be available on the screen below the search frame. Note
that it is only possible to save one file at the time. The old file will be overwritten when
a new file is created
Result file information
There are two types of events; start and end.If full verbosity has been used on an AC,
the end event will contain more information than a start event. Namely the number of
packets and bytes set in both directions. The events are output in CSV format.
Start or end event: Source IP, Source Port, Destination IP, Destination Port, Outgoing
IP, Outgoing Port, Transport protocol, Event type (START or END), Timestamp
End event when full verbosity has been used: Source IP, Source Port, Destination IP,
Destination Port, Outgoing IP, Outgoing Port, Transport protocol, Event type (END),
Timestamp, Source packets, Source bytes, Destination packets, Destination bytes
13
Network configuration
4.4
System
To change the system settings of the Service Portal server, use the System menu and
then commit the changes in the Control Panel menu.
The network settings that can be changed are:
Email to sysadmin
Mail Relay Server (if configured, all emails will be sent via this external server instead of
attempting to deliver it directly to the destination mail server)
Admin web password
Boot protocol
IP address
Netmask
Hostname
Domain
Gateway
Nameserver
Secondary nameserver
Tertiary nameserver
Access Management
In addition to the Admin user, it is possible to add other users. The logs can show who
has done configuration changes in the system.
To add a new user, click on Access Management and add a username. Click on the
new created user and add the details (name, company, email, password)
4.5
14
Network configuration
The activities that needs to be done are:
Add the MAS-servers (or generic Nodes) to be managed
Enable the nodes to be handled by the service portal (initial state is set to new)
Configure reports to be generated for the networks objects (MASs, zones,
ACs) you like.
15
Network configuration
Usage Data: Enables or disables user data import from MAS. The login credentials
should match the setup in the billing usage account in MAS.
(In MAS, go to Billing and add a usage data account. Add login credentials, output
template should be CSV files. Select the events.)
Strip null sessions: If this option is enabled, the SPA will avoid importing
sessions that have no duration, sent data and received data.
Additional Usage Data Sources: If the Service Management Platform is using
splitted architecture (e.g a MAS and a separate PAS) the relation has to be set up.
All involved nodes need to be set up.
1. Enter a name of the additional node and click Add.
2. A new page will show. Enter the hostname (ip or hostname) and the username
and password for the billing account for this data source.
Complete the configuration by the doing a Commit and Reload under the Control
Panel. This will then initiate the service portal to start the download of usage data.
16
Network configuration
The names of the PAS sites that are configured on the extra PAS, also needs to be
configured on the base MAS.
17
Report configuration
5. Report configuration
Reports can be configured in two different places, in the node tree and in the custom
reports folder. The node reports are often used by support staff to find specific data.
Custom reports are normally used for overview reports, to be used by a financial
department, a venue owner or other groups.
See Appendix B for the different report types used in the Aptilo Service Portal.
5.1
18
Report configuration
Generation interval: Add how often the report will be generated (in seconds).
Schedule: Set specific scheduling for the report. Scheduling overrides the interval,
which means that the interval settings will be ignored if a schedule is set. A report
schedule is written in the format:
[(dayofmonth|weekday1)<sp>][[hour]]:minutes]
Examples:
01 04:03 - Generate report at 04:03 the first day of every month
01 :03 - Generate once an hour, at 3 minutes past the hour, but only the first day
of the month
Mon 04:30 - Generate report at 4:30 every Monday
Mon :03 - Generate once an hour, at 3 minutes past the hour, but only on
Mondays
:03 - Generate once an hour, at 3 minutes past the hour
It is very important to set the interval and schedule settings correct as this is
important for the performance of the Aptilo Service Portal.
5.2
19
Report configuration
Manage Report Arguments: Optional. If a new folder has been created and the folder
should contain several reports, it is possible to set report arguments recursively. This
means that you can select the base node/organization/PAS sites on the folder level and
all new created reports in the folder will inherit these arguments.
The state of network objects are ignored when creating reports, i.e. all available data is
included even for disabled nodes.
Please note that when defining which custom reports that should be available in a venue
portal, the finest granularity is a report folder. This means that all reports in the same
folder will be included when adding the report folder to venue portal. If not all reports
should be available for all venue portals, please divide them into several folders.
20
Report configuration
root> spa-report-template
This will show how this feature is used:
Usage: /usr/bin/spa-report-template <list|create|import|export|remove> [name]
In this example, we will create a template from an existing report structure on the same
service portal.
root>spa-report-template create This_month2
You will now get a list of all report folders that exist on this service portal.
Enter the number of the report folder that you want to copy
1: Customer C(id13095)
2: Yesterday (id13095/id26384)
3: Last month (id13095/id26400))
4: This month (id13095/id624931)
4
The template has been created here: /var/aptilo/spa/configtemplates/This_month2
A copy of the folder structure This month has now been saved as report-template
This_month2.
If a report structure is imported from another service portal, import it to the folder:
/var/aptilo/spa/configtemplates/
Create a report structure using a template
When the report structure has been created as above, it is now possible to use in the web
interface.
21
Report configuration
In this example, the folder Customer E is marked. It is now possible to select
This_month2 in the drop-down field for Add report structure. Add a new name, e g
Month and click OK. The folder has now appeared in the folder Customer E,
including the reports.
Note that all configuration is not copied. Nodes, organizations and PAS-sites need to be
set in the new folder. Recursive settings are recommended.
5.3
Archive reports
An archive can store old today, this week or this month reports. A new report is put
into the archive when the interval for this report has passed.
This feature is used for example if a daily report is used, and the old daily reports should
be saved and possible to view.
How it will look in the Venue Portal:
22
Report configuration
Titel suffix: Suffix of the archived report title in the venue portal.
Max number of reports: Maximum number of reports that the archive should
show.
Min number of reports: Minimum number of reports that the archive should
show.
Delay: Set to 14400 seconds as default. Usage data may be delayed from the
MAS, therefor should the delay time be greater than 0 seconds. The report
will then be regenerated and put into the archive when the delay time has
passed.
5.4
23
Report configuration
5.5
24
6.1
The tree structure appear in the left hand window. The base nodes are:
Reports: Custom reports will appear here according to the configured folder structure.
Network. Depending on the base network node that is chosen, all subfoders and access
nodes from the base node will be shown.
25
Summary
The summary is an overview of the present status of the network. A node in the network
tree needs to be chosen to be able to view the summary page.
Details
To be able to view information in the tab Details, a node in the network tree needs to
be chosen. The page includes information and graphs about the node.
.
The first section includes information about the node such as IP address, identity and
version of the product.
26
Statistics
The last section shows statistics about connections and bandwidth. By default, statistics
for the last week is shown. Below the graph the average, minimum and maximum value
for the period are counted. Click on the links Last 24h, Last month or Last 12 months to
show a different time period.
Reports
An access node or a zone should be selected in the network tree when using the
Reports. The reports valid for the specific node will show.
1. Select a report: The time period for this report will appear. If the time period should
be changed, it is possible to specify a time period within the shown date/time.
2. Output style: The report can be executed in table format in a new window or saved
locally as a csv file. The csv file can be opened in a calculation program. The table
format report can be printed.
27
Alerts
The tab alert gives an overview of the present alerts in the system.
6.2
28
29
Data template: Select a data template. The template defines the available data in
the Venue Portal.
Resource file template: Select a resource file template. The template may
contain changed images and user defined configuration for the portal. Please see
Appendix A for more information on how to upload and create a template.
Update interval: How often the Venue Portal will be updated in seconds.
30
Operational activities
7. Operational activities
7.1
7.2
Archive activities
There is a feature to export and import both data and configuration for a specific
MAS-node. It is also possible to define a specific time period to export/import. Please
note that graphs are not exported.
This feature is mainly targeted for:
Export of old data. As time goes by, the Aptilo Service Portal will fetch a lot of data
from the MAS, and the data needs to be archived at some point to avoid filling up
the disks and databases.
Move a MAS-server to another Aptilo Service Portal
.
Auto-archive
The archive function can be configured to automatically archive data. This is set up in
the web inteface. Click on System and then on Data Archive Schedule in the left hand
menu.
31
Operational activities
To configure an auto archive schedule, start to add one task. One or several archive
schedules can be set up:
Enable archive functionality: Select Yes if the auto-archive should be used.
Add task: Enter a name of this archive
Click OK to save
A new folder has now been created in the Data Archive Schedule in the menu. Click
on the new folder.
32
Operational activities
Schedule: Select when to run this auto-archive. Default value is 01 02:14 which means
that this task will run the first day every month at 02:14. Click on the online help to see
other options.
Month Offset: Select how many months that should be kept in the SPA and that should
NOT be archived. Example: My schedule says that I will run this task 03 03:22 and
Offset is 2. The 3rd of november, at 03:22 the auto-archive will run but it will keep data
from October (offset 1), September (offset 2) and November (offset 0).
Months included: Select how many months that should be archived, for example 5. If
the previous example is followed it means that the 3rd of november, at 03:22 the
auto-archive will run but it will keep data from October (offset 1) and September (offset
2) and archive data for 5 months (April-August).
Archive Filename Prefix: Enter a prefix of the file. The beginning and ending dates
of the archive will be appended to the base filename to clearly indicate the
content of the archive.
Delete: Enable delete of the original data when the archive is successful
Archive storage: If Local is selected, the archive file will be saved in folder
/var/aptilo/autoarchive/. If ftp is selected, the following paramaters need to be set:
Remote FTP Host, Remote FTP Username, Remove FTP Password and Remove FTP
Directory. If there is a connection problem to the FTP directory, the auto archive will
try to send the archived data until the FTP connection works.
33
Operational activities
address
file
7.3
Auto-backup
Backups can be set up to run on schedule automatically. This is set up in the web
inteface. Click on System and then on Backup Schedule in the left hand menu.
To configure an auto backup schedule, start to add one task. One or several archive
schedules can be set up:
Enable backup: Select Yes if the auto backup should be used.
Add task: Enter a name of this backup schedule
Click OK to save.
A new folder has now been created in the Backup Schedule in the menu. Click on the
new folder.
34
Operational activities
35
Operational activities
The format of the backup command is:
aptilo-backup <option1> <option2> <option3> <option4>
The available backup options are:
all contains all available information (the same as aptilo-backup network config)
config general configuration of the Nodes monitored by the Aptilo Service Portal
and the data fetch from them.
Default (only aptilo-backup and no options selected) is equal to aptilo-backup config.
This option should be used if you want to move the complete configuration including
the data to another server which is configured with another IP address.
Backup procedure
The backup procedure includes the following steps:
Log on to the server as the root user using the command line interface. If this is
done through ssh from another computer, first logon as the admin user and then
change to the root user (using the su - command).
Execute the command to stop the service portal: spa-stop
Execute the backup-command: e.g. aptilo-backup all
The backup information is created and placed in the folder /var/tmp/. An example
of a backup filename is: /var/tmp/backup.20031006_091838.tar This name indicates that the backup was made on the 2003 Oct. 6 at 09:18:38.
Copy the backup-file (using the scp command) to another computer for storage.
Execute the aptilo-start command to get the configuration data activated.
Log off the Aptilo Service Portal server.
Restore procedure
Limitation:
For the restore procedure to work properly, the backup-file needs to be created from a
service portal of the same release number as the release installed on the restore target
host.
36
Operational activities
The restore procedure includes the following steps:
Restore must be done on a new installed system. Install a new SPA with the same
version as the backup file.
Log on to the Aptilo Service Portal server as the root user using the command line
interface. If this is done through ssh from another computer, first logon as the
admin user and then change to the root user (using the su command).
Execute the command to stop the service portal: spa-stop
Execute the restore command: aptilo-restore /var/tmp/<backup-file-name>
Please note that the full path need to be given!
The restore process may take a few minutes if the backup file is large.
The data is now restored.
Execute the aptilo-start command to get the configuration data activated.
The server is now restored to the state it had before the aptilo-backup that created
the backup file.
37
Operational activities
7.4
Upgrade procedure
This part of the manual describes how to prepare for an upgrade and perform it.
Upgrade Procedure
Upgrade is possible from a CD or over the Internet.
If the Aptilo Service Portal that will be upgraded is in commercial operation we
recommend that the upgrade is done over the Internet as this interrupts the operation as
little as possible.
Network upgrade.
Backup the Aptilo Service Portal and store the resulting backup file on an external
server. Please see: Operational activities, on page 31
Please execute the upgrades procedures described in the release notes.
Verify the functionality by doing: spa-check.
CD upgrade
Make sure you have received a CD containing the target Aptilo Service Portal version.
Backup the Aptilo Service Portal and store the resulting backup file on an external
server. Please see: Operational activities, on page 31
Insert the CD containing the target Aptilo Service Portal version.
Make the CD available by executing the command(as the root user):
mount /mnt/cdrom
add the following string to the update/upgrade command
--url=file:///mnt/cdrom/RedHat/RPMS/
Before the CD is removed, please execute the command:
umount /mnt/cdrom/
Verify the functionality by doing spa-check.
38
Monitoring
8. Monitoring
8.1
Monitoring overview
This chapter describes how the Aptilo Service Portal monitors the system. The service
portal monitors among other things the status of important processes, data capture,
reports and accessnode status.
Alarms can be sent via mail or snmp traps. Useful information and statistics how the
system is working is shown if the spa-check command is executed. The command is
found in the console and in the web interface.
It is also possible to get information about the SPA via SNMP v1.
8.1.1 SPA-check
SPA-check shows:
network status
the process status
statistics and status about status collection from nodes
statistics and status about configuration fetch from MAS nodes
usage data (csv) file fetch status
report status
database performance
status and statistics about internal and external venue portals.
The spa-check command can be executed both in the web interface , Control Panel
page and from the console.
The command to be used from console:
root> spa-check
The Control Panel page has a button called New Check. If the button is clicked on, the
outcome of the check will show in the section below the button. It can take a couple of
minutes before the spa-check outcome is updated.
39
Monitoring
The above probe will in this case show the following in the spa-check:
If the report had contained between 3-100 rows, the status should have been OK.
8.1.3 Alarms
The possible alarms are grouped into types, such as network and reports. When a
failure is found for a group, an alarm will be triggered. A new trigger will also occur if
more or less alarms in the group are found. An alert resolved trigger occurs when no
alert no longer exist for a group.
Warnings from the spa-check does normally not trigger an alarm.
40
Monitoring
An SNMP trap or email can be sent when an alarm is triggered. Configure the SNMP
traps settings if you want to receive a trap and configure the sysadmin email address if
you want to receive an email when an alarm occurs.
SNMP
The Aptilo Service Portal can be monitored externally using SNMP.
An SNMP trap can be sent when an alarm is triggered. Configure the SNMP traps
settings if a trap should be received.
On the System page, the SNMP settings are found.
Trap version: Select between v1 or v2
Trap destination: IP-address of a receiver of SNMP traps from the service
portal. (e.g. an external supervision device).
Customer Community String: Community string needs to be defined.
Customer Community Oid: Oid needs to be defined
E-mail
An email can be sent when an alarm is triggered. Configure the email address to the
system administrator on the System page. It is only possible to use one email address.
41
42
Introduction
To support an operator to provide status and usage information to their customers in a
easy accessible way without jepordize their network security of the operation centre, the
Aptilo Service Portal solution includes a separate web-application that gives access to
customer adopted information.
The Venue Portal is the presentation part of the Aptilo Service Portal solution. Other
parts of the solution handle the configuration, monitoring, data processing etc. The
Venue portal is a web application that displays network status and reports for operators,
venue owners, support personnel and other people. Each type of user will have a
customized Venue Portal with an individual configuration.
The configuration, data and reports are sent to a directory on a web server. PHP scripts
on the web server handle the HTML requests. The scripts reads and parse/analyzes the
uploaded configuration and data on each request. The web pages displayed, are based
on the user request, the configuration and current uploaded data.
End-user authentication, i.e. control of the access to the different Venue Portals on the
web-server, is to be handled by the ordinary user management support of the
web-server and is not part of the Venue Portal application.
43
General requirements
The Venue Portal application set the following requirements on the web-server
environment:
Support for PHP 4 or above
UID/PWD protected FTP server login for data upload.
End-user login authentication. The usage of the portal should be protected with
username/password-login handled by the web-server itself.
Please note that in addition to the specific UID/PWD for the Venue Portal, the
admin UID/PWD for the Service Portal can be used to log in to any venue portal.
The memory limit a script may consume must be configured depending on the
size of the Venue Portal. The Venue Portal will show an error message if the max
size is too small.
44
- Add a file named user.conf. In this file there are several options to changes. It is
important to have a space before and after =.
Hide tabs: It is possible to hide one or several tabs by adding the following in
user.conf:
tab_reports = no
tab_details = no
tab_alerts = no.
Change colors:
The options are: top_bgcolor, body_bgcolor, body_bgcolor_if_nothing,
left_body_bgcolor; frame_border_color, table_bgcolor, table_content_bgcolor,
table_first_bgcolor, tree_highlight_bg, tree_highlight_color.
To change a parameter: top_bgcolor = white
Time zone settings:
For example:hours_offset = +02 for CET. If it is left blank the system time will
be used.
Character set / encoding:
charset = iso-8859-1
Displayed page: The page to be displayed on right frame when left tree nodes
are clicked. The options are: summary, details, report, alerts.
right_frame = summary
2. Run the command: spa-resource-template
Usage: /usr/bin/spa-resource-template <add|update|remove> <name>[filename]
The file should be in pkzip format.
Example: spa-resource-template add testname /tmp/filename
3. Go to the Service Portal web interface. It is now possible to select the created
template for the Venue Portal. To upload the new template, see the section Create a
Venue Portal.
Data template
The data template is changed when for example data in a certain tab should be changed.
The venue portal user should only see connections in the summary tab, and not the
bandwidth information. A data template contains xml files that describes which items
that are available in each page.
1. Create a zip archive containing a data template for the venue portal. The default
template is located: /usr/local/aptilo/spa/portal/templates/default
45
2. Run the command: spa-data-template
Usage: /usr/bin/spa-data-template <add|update|remove> <name>[filename]
The file should be in pkzip format.
3. Add the new data template by using the Service Portal web interface. To use the new
data template, see the section Create a Venue Portal
46
Summary pages are fixed text based reports. The reports will summarize the
information without giving any detailed information per payment/session.
Available summary pages:
Network status - summary
Sessions - organization summary page
Sessions - organization/location summary page
Transactions - summary page
Example of a summary report:
47
Online reports are more flexible than other reports. Most of the arguments are set
directly in the venue portal when generating the reports. Online reports are also called
Query reports. They can only be used in internal venue portals.
Some features with online reports
Default time interval is last 24 hours. The time interval can be changed.
Show: It is possible to untick information that shouldnt be displayed in the
report. If the box in front of the row phone is unticked, this column will not
show in the report.
Order by: Decide the sort order of the report.
Example of how you can set the search criterias and order the online report.
48
List reports
Network Status - list
A network status list will show a status list of the selected node types. Most of the
arguments are set when configuring the report in the Service Portal.
Arguments:
Select base node:The node tree in the MAS will show. Select from which node
the data should be retrieved. Click OK.
Select node type to include: What node type to include in the report: MAS,
Generic SNMP, Zone, Access node, Subnet or Access Point
Max number of levels: Max recursion depth of the network tree structure. Select
All or 1-10
Time span: What data to ignore
Duration threshold: A status change can be ignored or another status can be set
if the duration is shorter than the threshold. The threshold is specified in seconds.
Duration threshold action: Select an action if the duration is shorter than the
threshold: Ignore status if lower, Set Poor status if lower, Set Unknown status if
lower.
49
Sessions - list
The report will show all details related to sessions in the system.
Arguments:
Recursive: Set to yes to include subzones in this report
Select base node:The node tree in MAS will show. Select from which node that
data should be retrieved. Click OK.
Zone path match string: Match string in the full zone path. The report engine
will match the zone path against the specified string, and only present nodes
whos zone path contains this string. If left empty, all nodes in the base will be
included in the report.
Time span: What data to include in this report.
Organization: To be able to select an organization, the base node needs to be
selected. The organizations in the MAS subscriber management will show. Select
one organization if you only want the report to show this organization specific
data.
Sort order: Choose ascending or descending
50
51
Arguments:
Recursive: Set to yes to include subzones in this report.
Select base node: The node tree in MAS will show. Select from which node the
data should be retrieved. Click OK.
Time span: What data to include in this report
PAS Sites:To be able to select PAS sites, the base node needs to be selected.
Select one or several PAS sites that the reports should be based on. To select
more than one site, hold the Ctrl button at the same time as you select PAS sites.
Sort order: Choose ascending or descending
52
Summary pages
Network summary
The report will display a summary in percent how long the selected node has been OK,
not OK or poor during the selected time span.
Arguments: See the arguments for the Network list
53
Sorted by: The choices are: principal, session count, session duration, sent data,
received data
Sort order: Choose ascending or descending
54
Online reports
Query: Sessions - list
Only base node and organization are set as predefined arguments. In the venue portal,
the user can select time span and which columns to show, one session per row.
Arguments:
Select base node: The node tree in the MAS will show. Select from which node
the data should be retrieved. Subzones will be included. Click OK.
Organization: To be able to select an organization, the base node needs to be
selected. The organizations in the MAS subscriber management will show. Select
one organization if you only want the report to show this organization specific
data
In the example below, the following columns are selected: first name, last name,
username, client ip, endtime, duration and term cause.
,
55
56
57
www.aptilo.com
Aptilo Service Portal Users Manual