threshold-monitor cpu

Configures monitoring of CPU usage of the system and alerts the user when configured thresholds are exceeded.

Syntax

threshold-monitor cpu { [ actions [ none | raslog [ { limit limit_when_reached | poll polling_interval | retry number_of_retries ] ] }
no threshold-monitor cpu
k

Parameters

actions
Specifies the action to be taken when a threshold is exceeded.
none
No action is taken.
raslog
Specifies RASLog messaging.
limit
Specifies the baseline CPU usage limit as a percentage of available resources.
limit_when_reached
When the limit set by this parameter is exceeded, a RASLog WARNING message is sent. When the usage returns below the limit, a RASLog INFO message is sent. Valid values range from 0 through 80 percent. The default is 70 percent.
poll
Specifies the polling interval in seconds.
polling_interval
The range is from 0 through 3600. The default is 120
retry
Specifies the number of polling retries before desired action is taken.
number_of_retries
Range is from 1 through 100. The default is 3.

Modes

Global configuration mode

Usage Guidelines

This command sends a RASLog WARNING message when configured thresholds are exceeded.

Examples

device(config)# threshold-monitor cpu actions rasloglimit 50 poll10