- Performing Basic System Management
- Setting Time and Calendar Services
- Configuring System Logging Counts
- CPU Thresholding Notification
- DSP Operational State Notifications
- Configuring the Event Tracer
- Memory Threshold Notifications
- Troubleshooting and Fault Management
- Configuring the XML Interface to Syslog Messages
- Finding Feature Information
- Restrictions for CPU Thresholding Notification
- Information About CPU Thresholding Notification
- How to Configure CPU Thresholding Notification
- Configuration Examples for CPU Thresholding Notification
- Additional References
- Feature Information for CPU Thresholding Notification
CPU Thresholding Notification
The CPU Thresholding Notification feature notifies users when a predefined threshold of CPU usage is crossed by generating a Simple Network Management Protocol (SNMP) trap message for the top users of the CPU.
- Finding Feature Information
- Restrictions for CPU Thresholding Notification
- Information About CPU Thresholding Notification
- How to Configure CPU Thresholding Notification
- Configuration Examples for CPU Thresholding Notification
- Additional References
- Feature Information for CPU Thresholding Notification
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the Feature Information Table at the end of this document.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Restrictions for CPU Thresholding Notification
CPU utilization averages are computed by Cisco IOS software using a 4-millisecond Network-to-Management Interface (NMI) tick. In the unlikely event where the traffic rate is a multiple of this tick rate over a prolonged period of time, the CPU Thresholding Notification feature may not accurately measure the CPU load.
Information About CPU Thresholding Notification
The CPU Thresholding Notification feature allows you to configure CPU utilization thresholds that, when crossed, trigger a notification. Two types of CPU utilization threshold are supported:
Rising Threshold
A rising CPU utilization threshold specifies the percentage of CPU resources that, when exceeded for a configured period of time, triggers a CPU threshold notification.
Falling Threshold
A falling CPU utilization threshold specifies the percentage of CPU resources that, when CPU usage falls below this level for a configured period of time, triggers a CPU threshold notification.
How to Configure CPU Thresholding Notification
- Enabling CPU Thresholding Notification
- Defining CPU Thresholding Notification
- Setting the Entry Limit and Size of CPU Utilization Statistics
Enabling CPU Thresholding Notification
To specify the recipient of SNMP notification operations and enable CPU thresholding notification, perform these steps:
DETAILED STEPS
Defining CPU Thresholding Notification
To define a rising and a falling CPU threshold notification, perform these steps:
DETAILED STEPS
Setting the Entry Limit and Size of CPU Utilization Statistics
To set the process entry limit and the size of the history table for CPU utilization statistics, perform these steps:
DETAILED STEPS
Configuration Examples for CPU Thresholding Notification
- Setting a Rising CPU Thresholding Notification Example
- Setting a Falling CPU Thresholding Notification Example
Setting a Rising CPU Thresholding Notification Example
The following example shows how to set a rising CPU thresholding notification for total CPU utilization. When total CPU utilization exceeds 80 percent for a period of 5 seconds or longer, a rising threshold notification is sent.
Router(config)# process cpu threshold type total rising 80 interval 5
Note |
When the optional falling arguments (percentage and seconds) are not specified, they take on the same values as the rising arguments (percentage and seconds). |
Setting a Falling CPU Thresholding Notification Example
The following example shows how to set a falling CPU thresholding notification for total CPU utilization. When total CPU utilization, which at one point had risen above 80 percent and triggered a rising threshold notification, falls below 70 percent for a period of 5 seconds or longer, a falling threshold notification is sent.
Router(config)# process cpu threshold type total rising 80 interval 5 falling 70 interval 5
Note |
When the optional falling arguments (percentage and seconds) are not specified, they take on the same values as the rising arguments (percentage and seconds). |
Additional References
For additional information related to the CPU Thresholding Notification feature, refer to the following references:
Related Documents
Related Topic |
Document Title |
---|---|
SNMP traps |
Configuration Fundamentals Command Reference |
Standards
Standards |
Title |
---|---|
No new or modified standards are supported by this feature and support for existing standards has not been modified by this feature. |
-- |
MIBs
MIBs |
MIBs Link |
---|---|
CISCO-PROCESS-MIB |
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL: |
RFCs
RFCs |
Title |
---|---|
No new or modified RFCs are supported by this feature and support for existing RFCs has not been modified by this feature. |
-- |
Technical Assistance
Description |
Link |
---|---|
The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password. |
Feature Information for CPU Thresholding Notification
Table 1 | Feature Information for CPU Thresholding Notification |
Feature Name |
Releases |
Feature Information |
---|---|---|
CPU Thresholding Notification |
12.0(26)S 12.3(4)T 12.2(25)S |
The following commands were introduced or modified: process cpu statistics limit entry-percentage, process cpu threshold type, snmp-server enable traps cpu, snmp-server host. |
Cisco and the Cisco Logo are trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and other countries. A listing of Cisco's trademarks can be found at www.cisco.com/go/trademarks. Third party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1005R)
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.