This chapter explains how to launch and configure CXMon. It also explains how to add CX devices to CXMon and how to
3.6 Logging Traffic Data to a CSV File
In addtion to viewing the traffic data in CXMon, you can also log the traffic to a log file in CSV format. You can then open this file in any spreadsheet application or text file to compile the statistics on a device.
• To see where CXMon is storing your log files, select Settings > Log Status. The Log Status dialog box appears (see “Viewing the Log Usage Statistics” on page 3-38).
• To configure how CXMon logs your data, select Settings > Log Settings >
Other Settings (see “Configuring the Data/Log Storage Options” on page 2-15).
There are eight types of log files you can generate:
• Savings: logs the amount of kilobytes that have been saved due to the optimized traffic on the CX device (see “Savings log file” on page 3-39)
• WAN: logs the amount of data that is sent and received, as well as the number of sent/received packets that are discarded or that are in error. (see “WAN log file”
on page 3-39).
• BWSavings: logs the difference (as a percentage) between optimized traffic and non-optimized traffic on a port (see “BWSavings log file” on page 3-40)
• Traffic: logs the ratio of traffic types detected on the current port. (see “Traffic log file” on page 3-40)
• Voice Silence: logs the percentage of duplicate silence packets on the current port compared to the total number of speech packets (see “Voice Silence log file”
on page 3-41)
• Discard Level: logs the ratio of discarded voice packets by the bandwidth man-agement mechanism for each level of congestion (see “Discard Level log file” on page 3-41)
• PktDiscards: logs the number of discarded voice packets per congestion level
Figure 3-22: Example of a Log file as a spreadsheet
• Traps: logs the traps that have been recorded for the selected port (see “Traps log file” on page 3-42)
Each log file contains the same header information at the top, which is then followed by the specific data types for that log. The common information is as follows:
• Device Name: the name of the device being tracked
• Dirty flag: for internal use by Memotec Inc. (please ignore)
• Log ID: for internal use by Memotec Inc. (please ignore)
• Port ID: the number of the port being logged (not included in the Savings and WAN log files)
• Date: the date the log entry was recorded
• Time: the time the log entry was recorded
3.6.1 Viewing the Log Usage Statistics
The Log Status dialog box displays the current log usage. To open it, select Settings >
Log Status.
To configure how CXMon logs your data, select Settings > Log Settings > Other Settings (see “Configuring the Data/Log Storage Options” on page 2-15).
Figure 3-23: Log Status dialog box
Parameter Description
Current log path Displays the full directory path for all log files.
NOTE: It is possible to see the full path by clicking it and using the arrow keys.
Table 3-23: Log Status parameters
3.6.2 Savings log file
The Savings log file records the amount of kilobytes that have been saved due to the optimized traffic on the CX device. This log includes the following log data from the Voice/GSM Traffic System Savings graph (see “Voice/GSM Traffic System Savings” on page 3-12):
• Tx % value: the percentage of transmitted data that was saved due to the optimi-zation.
• Rx % value: the percentage of received data that was saved due to the optimiza-tion.
3.6.3 WAN log file
The WAN (Wide Area Network) log file records the amount of data that is sent and received, as well as the number of sent/received packets that are discarded or that are in error. This log includes the following log data from the WAN Port monitor graph (see
“WAN Port Monitor” on page 3-16):
• Tx value (Kbps): the percentage of transmitted data on the WAN Port monitor graph for T1/E1 or VR port (units are kilobit per second).
• Rx value (Kbps): the percentage of received data on the WAN Port monitor graph for T1/E1 or VR port (units are kilobit per second).
Free disk space Displays the amount of free disk space for the drive defined in the log path.
NOTE: All logging will stop when this value reaches the Min free disk space setting.
Size of log folder Displays the total size of the log folder. This size includes all logs that have been created for all devices.
Current device log size Displays the total size of all logs for the device being moni-tored for the CXMon session.
Parameter Description
Table 3-23: Log Status parameters
3.6.4 BWSavings log file
The BWSavings (Bandwidth savings) log file records the ratio (as a percentage) of optimized traffic and non-optimized traffic on a port. This log includes the following log data from the Traffic Optimization Ratio graph (see “Displaying the Ratio of Traffic Compression” on page 3-30):
• Tx % value: the ratio (as a percentage) of transmitted data.
• Rx % value: the ratio (as a percentage) of received data.
3.6.5 Traffic log file
The Traffic log file records the ratio of traffic types detected on the current port. It displays the number of TCH in use for each type of optimized traffic.
This log file includes the following log data from the Traffic Optimization Ratio graph (see “Displaying Ratio of Traffic Types on a Port” on page 3-27).
Depending on the type of port configuration that you have, different types of data will be logged:
For AbisXpress port configuration:
• 16k Speech %: the percentage of 16k speech data in the traffic flow (values are normalized to 16k).
• 8k Speech %: the percentage of 8k speech data in the traffic flow (values are normalized to 8k).
• Sig Ratio %: the percentage of signal data in the traffic flow (values are normal-ized to 16k).
• Others Ratio %: the percentage of miscellaneous data (not 16k, 8k, nor signal) in the traffic flow (values are normalized to 8k).
For EDGEPlus port configuration:
• 16k Speech %: the percentage of 16k speech data in the traffic flow (values are normalized to 16k).
• 8k Speech %: the percentage of 8k speech data in the traffic flow (values are normalized to 8k).
• Sig Ratio %: the percentage of signal data in the traffic flow (values are normal-ized to 16k).
• EDGE Ratio %: the percentage of EDGE speech data in the traffic flow (values are normalized to 8k).
• Others Ratio %: the percentage of miscellaneous data (not 16k, 8k, EDGE, nor signal) in the traffic flow (values are normalized to 8k).
For DCME port configuration:
• High BW Speech %: the percentage of high-quality speech data occupying bandwidth in the traffic flow (values are not normalized).
• Low BW Speech %: the percentage of low-quality (< 8 kbps %) speech data occupying bandwidth in the traffic flow (values are not normalized).
• Data %: the percentage of digital data in the traffic flow (values are not normal-ized).
For ATM/TDM/IMA port configuration:
• Non-Idle Cells: the number of non-Idle cells in the traffic flow.
3.6.6 Voice Silence log file
The Voice Silence log file records the percentage of duplicate silence packets on the current port compared to the total number of speech packets. This log file includes the following log data:
• Tx % value: the percentage of transmited silence in the Voice Traffic Ratio graph.
• Rx % value: the percentage of received silence in theVoice Traffic Ratio graph.
3.6.7 Discard Level log file
The Discard Level log file records the ratio of discarded voice packets by the bandwidth management mechanism for each level of congestion.
This log file includes the Discard Level log data, which is used by the bandwidth management mechanism (as shown in the Discard Level graph).
3.6.8 PktDiscards log file
The Traffic log file records the number of discarded voice packets per congestion level.
This log includes the following log data:
• Level 1: the amount of discarded level 1 packets.
• Level 2: the amount of discarded level 2 packets.
• Level 3: the amount of discarded level 3 packets.
• Level 4: the amount of discarded level 4 packets.
• Level 5: the amount of discarded level 5 packets.
• Level 6: the amount of discarded level 6 packets.
• Level 7: the amount of discarded level 7 packets.
3.6.9 Traps log file
The Traps log file records the traps for the selected port. This log includes the following log data:
• Trap Name: name of trap
• Trap data: description of the trap