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 [ all | loginfo | none | raslog | snmp ] ] | high-limit value-in-percentage | poll polling-interval | retry retry-interval }
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 where snmp and all are newly added. Default "action" is changed to "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
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

Usage Guidelines

Note

Note

Parameters "limit" and "low-limit" are removed in SLXOS version 20.4.1.

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
  loginfo   Diagnostic data collection along with RASLOG
  none      No action will be taken
  raslog    RASLOG will be sent
  snmp      SNMP trap will be sent
SLX(config)#