threshold-monitor memory
Configures monitoring of the memory usage of the system and alerts the user when configured thresholds are exceeded.
Syntax
threshold-monitor memory
{
[
actions
[
none
|
raslog
{
high-limit
percent
|
limit
percent
|
low-limit
percent
|
poll
polling_interval
|
retry
number_of_retries
}
|
high-limit
percent
|
limit
percent
|
low-limit
percent
|
poll
polling_interval
|
retry
number_of_retries
}
]
}
no threshold-monitor memory
Parameters
-
actions
- Specifies the action to be taken when a threshold is exceeded.
-
none
- No action is taken. This is the default.
-
raslog
- Specifies RASLog messaging.
-
high-limit
- Specifies an upper limit for memory usage as a percentage of available memory.
- percent
- This value must be greater than the value set by
limit . When memory usage exceeds this limit, a RASLog CRITICAL message is sent. Values range from 0 through 80 percent. The default is 70 percent.
-
limit
- Specifies the baseline memory usage limit as a percentage of available resources.
- percent
- When this value is exceeded, a RASLog WARNING message is sent. When the usage returns below the value set by
limit , a RASLog INFO message is sent. Values range from 0 through 80 percent. The default is 60 percent.
-
low-limit
- Specifies a lower limit for memory usage as percentage of available memory.
- percent
- This value must be smaller than the value set by
limit . When memory usage exceeds or falls below this limit, a RASLog INFO message is sent. The default is 40 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
Examples
device(config)# threshold-monitor memory actions none high-limit 80 low-limit 50 limit 70 retry 2 poll 30