Table Of Contents
Understanding Performance Monitoring
Using RTMT for Performance Monitoring
Category Tabs
Sample Rate
Adding Counters to Monitor
Alert Notification for Counters
Zoom Counter
Counter Properties
Troubleshooting Perfmon Data Logging
Related Topics
Understanding Performance Monitoring
Cisco Unified Communications Manager directly updates Performance counters (called PerfMon counters). The counters contain simple, useful information on the system and devices on the system, such as number of registered phones, number of active calls, and number of available conference bridge resources.
The Cisco CallManager object contains most of the Cisco Unified Communications Manager performance counters, and these counters have only one instance. The instance-based counters that belong to the other objects can have zero or more instances. For example, if two phones are registered to Cisco Unified Communications Manager, two instances of each counter that belong to the Cisco phones object exist.
You can monitor the performance of the components of the system and the components for the application on the system by choosing the counters for any object by using RTMT. The counters for each object display when the folder expands.
You can log perfmon counters locally on the computer and use the performance log viewer in RTMT to display the perfmon CSV log files that you collected or the Realtime Information Server Data Collection (RISDC) perfmon logs.
This chapter contains information on the following topics:
•
Using RTMT for Performance Monitoring
•
Troubleshooting Perfmon Data Logging
Using RTMT for Performance Monitoring
RTMT integrates with Cisco Unified Communications Manager administration and serviceability software. RTMT displays performance information for all Cisco Unified Communications Manager components.RTMT provides alert notification for troubleshooting performance. It also periodically polls performance counter to display data for that counter. Refer to "Displaying a Counter Description" section on page 5-7 for examples on displaying perfmon counters in a chart or table format.
Perfmon monitoring allows you to perform the following tasks:
•
Monitor performance counters including all the Cisco Unified Communications Manager nodes in a cluster, TFTP servers, and database servers.
•
Continuously monitor a set of preconfigured objects AND receive notification in the form of an e-mail message.
•
Associate counter threshold settings to alert notification. An e-mail or popup message provides notification to the administrator.
•
Save and restore settings, such as counters being monitored, threshold settings, and alert notifications, for customized troubleshooting tasks.
•
Display up to six perfmon counters in one chart for performance comparisons.
RTMT displays performance counters in chart or table format. Chart format looks like a miniature window of information. Up to six charts display in the RTMT performance monitoring pane for each category tab that you create. You can display a particular counter by double clicking the counter in the perfmon monitoring pane. Because chart view represents the default, you configure the performance counters to display in table format when you create a category.
You can remove a counter chart (table entry) with the Remove Chart/TableEntry menu item in the Perfmon menu in the menu bar.
Tip
The polling rate in each precanned monitoring window remains fixed, and the default value specifies 30 seconds. If the collecting rate for the AMC (Alert Manager and Collector) service parameter changes, the polling rate in the precanned window also updates. In addition, the local time of the RTMT client application and not the backend server time, provides the basis for the time stamp in each chart.
For more information on Service Parameters, refer to Cisco Unified Communications Manager Administration Guide.
See the following sections for configuration options in the RTMT perfmon monitoring pane:
•
Category Tabs
•
Sample Rate
•
Using RTMT for Performance Monitoring
•
Zooming a Counter, page 5-6
Category Tabs
A category comprises a group of monitored performance counters. A tab in the RTMT monitoring pane contains the category name. All performance counters that are monitored in this tab belong to a category. The system polls the performance counters in the tab at the same rate, with each category configured to have its own polling rate.
You can create custom categories in the RTMT monitoring pane to view information that helps you troubleshoot specific performance, system, or device problems. If your system is experiencing performance problems with specific objects, create custom categories to monitor the performance of the counters within the object. If the system is experiencing problems with specific devices, create custom categories to monitor the devices in your system. In addition, you can create alert notifications for counters and gateways in these custom categories. To create custom categories, you add a new category tab. When the tab is created, you specify the specific performance counters, devices, and alerts within that tab and then save your custom category by using Profile.
Sample Rate
Note
The application polls counters, devices, and gateway ports to gather status information. In the RTMT monitoring pane, you configure the polling intervals for the performance counters, devices, and gateway ports for each category tab that you create. High-frequency polling rate affects the performance on the server. The minimum polling rate for monitoring a performance counter in chart view equals 5 seconds; the minimum rate for monitoring a performance counter in table view equals 1 second. The default for both specifies 10 seconds.
Adding Counters to Monitor
To troubleshoot system performance problems, you add the counter that is associated with the perfmon object to the RTMT performance monitoring pane, which displays a chart for the counter. Before you add counters, see the "Category Tabs" section.
Category tabs contain up to six perfmon counter charts.
Alert Notification for Counters
Using the alert notification feature, the application notifies you of system problems. Perform the following configuration setup to activate alert notifications for a system counter:
•
From the RTMT Perfmon Monitoring pane, choose the system perfmon counter.
•
Set up an e-mail or a message popup window for alert notification.
•
Determine the threshold for the alert (for example, an alert activates when calls in progress exceed the threshold of over 100 calls or under 50 calls).
•
Determine the frequency of the alert notification (for example, the alert occurs once or every hour).
•
Determine the schedule for when the alert activates (for example, on a daily basis or at certain times of the day).
Zoom Counter
To get a closer look at performance monitors, zoom the monitor counter in the RTMT perfmon monitoring pane by highlighting the counter chart and choosing System > Performance > Zoom Chart.
Counter Properties
Counter properties allow you to display a description of the counter and configure data-sampling parameters.
The Counter Property window contains the option to configure data samples for a counter. The performance counters that display in the RTMT performance monitoring pane contain green dots that represent samples of data over time. You can configure the number of data samples to collect and the number of data points to show in the chart. After the data sample is configured, view the information by using the View All Data/View Current Data menu option to view all the data that a perfmon counter collected.
Additional Information
See the "Related Topics" section.
Troubleshooting Perfmon Data Logging
The troubleshooting perfmon data logging feature assists Cisco TAC in identifying system problems. When you enable troubleshooting perfmon data logging, you initiate the collection of a set of Cisco Unified Communications Manager and operating system performance statistics on the selected node. The statistics that are collected include comprehensive information that can be used for system diagnosis.
The system automatically enables troubleshooting perfmon data logging to collect statistics from a set of perfmon counters that provides comprehensive information on the system state. When Troubleshooting Perfmon Data Logging is enabled, Cisco estimates that the system experiences a less than 5-percent increase in CPU utilization and an insignificant increase in the amount of memory that is being used, and it writes approximately 50 MB of information to the log files daily.
You can perform the following administrative tasks with the troubleshooting perfmon data logging feature:
•
Enable and disable the trace filter for Troubleshooting perfmon data logging.
•
Monitor a set of predefined System and Cisco Unified Communications Manager performance objects and counters on each server.
•
Log the monitored performance data in CSV file format on the server in the active log partition in the var/log/active/cm/log/ris/csv directory. The log file uses the following naming convention: PerfMon_<node>_<month>_<day>_<year>_<hour>_<minute>.csv; for example, PerfMon_172.19.240.80_06_15_2005_11_25.csv. Specify the polling rate. This rate specifies the rate at which performance data gets gathered and logged. You can configure the polling rate down to 5 seconds. Default polling rate equals 15 seconds.
•
View the log file in graphical format by using the Microsoft Windows performance tool or by using the Performance Log viewer in the Real-Time Monitoring Tool.
•
Specify the maximum number of log files that will be stored on disk. Log files exceeding this limit get purged automatically by removal of the oldest log file. The default specifies 50 files.
•
Specify the rollover criteria of the log file based on the maximum size of the file in megabytes. The default value specifies 2 MB.
•
Collect the Cisco RIS Data Collector PerfMonLog log file by using the Trace & Log Central feature of the Real-Time Monitoring Tool or Command Line Interface.
For more information on configuring Troubleshooting Perfmon Data Logging, see "Configuring Troubleshooting Perfmon Data Logging" section on page 5-13.
The troubleshooting perfmon data-logging feature collects information from the following counters within the following perfmon objects.
Refer to the Performance Objects and Counters for Cisco Unified Communications Manager for a description on the counters:
•
Cisco CallManager Object
–
Communications ManagerHeartBeat
–
CallsActive
–
CallsAttempted
–
CallsCompleted
–
InitializationState
–
RegisteredHardwarePhones
–
RegisteredMGCPGateway
•
Cisco CallManager System Performance Object
–
AverageExpectedDelay
–
CallsRejectedDueToThrottling
–
CodeRedEntryExit
–
CodeYellowEntryExit
–
QueueSignalsPresent 1-High
–
QueueSignalsPresent 2-Normal
–
QueueSignalsPresent 3-Low
–
QueueSignalsPresent 4-Lowest
–
QueueSignalsProcessed 1-High
–
QueueSignalsProcessed 2-Normal
–
QueueSignalsProcessed 3-Low
–
QueueSignalsProcessed 4-Lowest
–
QueueSignalsProcessed Total
–
SkinnyDevicesThrottled
–
ThrottlingSampleActivity
–
TotalCodeYellowEntry
•
Cisco SIP Stack Object
–
CCBsAllocated
–
SCBsAllocated
–
SIPHandlerSDLQueueSignalsPresent
•
Cisco TFTP
–
BuildAbortCount
–
BuildCount
–
BuildDeviceCount
–
BuildDialruleCount
–
BuildDuration
–
BuildSignCount
–
BuildSoftkeyCount
–
BuildUnitCount
–
ChangeNotifications
–
DeviceChangeNotifications
–
DialruleChangeNotifications
–
EncryptCount
–
GKFoundCount
–
GKNotFoundCount
–
HeartBeat
–
HttpConnectRequests
–
HttpRequests
–
HttpRequestsAborted
–
HttpRequestsNotFound
–
HttpRequestsOverflow
–
HttpRequestsProcessed
–
HttpServedFromDisk
–
LDFoundCount
–
LDNotFoundCount
–
MaxServingCount
–
Requests
–
RequestsAborted
–
RequestsInProgress
–
RequestsNotFound
–
RequestsOverflow
–
RequestsProcessed
–
SegmentsAcknowledged
–
SegmentsFromDisk
–
SegmentsSent
–
SEPFoundCount
–
SEPNotFoundCount
–
SIPFoundCount
–
SIPNotFoundCount
–
SoftkeyChangeNotifications
–
UnitChangeNotifications
•
Process Object
–
PID
–
STime
–
% CPU Time
–
Page Fault Count
–
Process Status
–
VmData
–
VmRSS
–
VmSize
–
Thread Count
•
Memory Object
–
Used Kbytes
–
Free Kbytes
–
Total Kbytes
–
Shared Kbytes
–
Buffers Kbytes
–
Cached Kbytes
–
Free Swap Kbytes
–
Total Swap Kbytes
–
Used Swap Kbytes
–
Pages Input
–
Pages Output
–
Pages
–
Used VM Kbytes
–
Total VM Kbytes
–
% Page Usage
–
% VM Used
–
% Mem Used
•
Processor Object
–
Irq Percentage
–
Softirq Percentage
–
IOwait Percentage
–
User Percentage
–
Nice Percentage
–
System Percentage
–
Idle Percentage
–
%CPU Time
•
Thread Object—Troubleshooting Perfmon Data Logger only logs Cisco Unified Communications Manager threads.
–
%CPU Time
•
Partition Object
–
Used Mbytes
–
Total Mbytes
–
%Used
–
Await Read Time
–
Await Write Time
–
Await Time
–
% CPU Time
–
Read Bytes Per Sec
–
Write Bytes Per Sec
–
Queue Length
•
IP Object
–
In Receives
–
In HdrErrors
–
In UnknownProtos
–
In Discards
–
In Delivers
–
Out Requests
–
Out Discards
–
Reasm Reqds
–
Reasm Oks
–
Reasm Fails
–
Frag OKs
–
Frag Fails
–
Frag Creates
–
InOut Requests
•
TCP Object
–
Active Opens
–
Passive Opens
–
Attempt Fails
–
Estab Resets
–
Curr Estab
–
In Segs
–
Out Segs
–
Retrans Segs
–
InOut Segs
•
Network Interface Object
–
Rx Bytes
–
Rx Packets
–
Rx Errors
–
Rx Dropped
–
Rx Multicast
–
Tx Bytes
–
Tx Packets
–
Tx Errors
–
Tx Dropped
–
Total Bytes
–
Total Packets
–
Tx QueueLen
•
System Object
–
Allocated FDs
–
Freed FDs
–
Being Used FDs
–
Max FDs
–
Total Processes
–
Total Threads
–
Total CPU Time
Related Topics
•
Using RTMT for Performance Monitoring
•
Troubleshooting Perfmon Data Logging
•
Configuring and Displaying Performance Counters, page 5-1
•
Performance Objects and Counters for the System, page A-1
•
Performance Objects and Counters for Cisco Unified Communications Manager, page B-1