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
{
[
high-limit
value-in-percentage
|
poll
polling-interval
|
retry
retry-interval
|
[
actions
[
all
|
loginfo
|
none
|
raslog
|
snmp
]
]
]
}
no threshold-monitor Memory
Parameters
-
actions
- Specifies the action to be taken when a threshold is exceeded. The values
supported are
all
, loginfo
,
none
, raslog
, and
snmp
. The default action is all
.
-
all
- RASLOG and SNMP trap will be sent when the threshold is
exceeded.
-
loginfo
- Additional diagnostics data will be collected along with RASLOG
when the threshold is exceeded.
-
none
- No action will be taken when the threshold is exceeded.
-
raslog
- Only RASLOG will be sent when the threshold is exceeded.
-
snmp
- Only SNMP traps will be sent when the threshold is exceeded.
-
high-limit
value-in-percentage
- Specifies the high usage limit as a percentage (%) of available memory that
will trigger the configured action. The range is 0%-95%. The default value
is 70%.
-
poll
polling-interval
- Specifies the polling interval in seconds after which a sample will be
taken. The range is 10-3600 seconds. The default interval is 120 seconds.
-
retry
retry-interval
- Specifies the number polling retries that will be attempted before desired
action is taken. The range is 1-100. The default retries is 3.
Modes
Global configuration mode
Examples
SLX(config)# threshold-monitor Memory ?
Possible completions:
actions Action to be taken when usage exceeds limit
high-limit PERCENT:0-95: Percent high threshold usage for component:MEMORY
poll NUMBER:10-3600: Polling interval
retry NUMBER:0-100: Number of retries for component:MEMORY
SLX(config)#
Example
This example displays threshold-monitor Memory actions
SLX(config)# threshold-monitor Memory actions
Possible completions:
[none]
all RASLOG and SNMP trap will be sent
none No action will be taken
raslog RASLOG will be sent
snmp SNMP trap will be sent
SLX(config)#