Configuring hardware monitoring for CPU, memory, and buffer usage

Alerts can be set for cpu, memory, and buffer usage.

When monitoring is configured, thresholds can be set. When the thresholds are exceeded, actions such as messages can be sent. Logs are saved for periods of time to enable viewing of threshold status.
Note

Note

Support for the custom policy operand is not provided for CPU and memory threshold monitoring.
  1. Enter global configuration mode.
    device# configure terminal
  2. To set the memory threshold between 40 and 60 and cause no message to be sent when thresholds are exceeded, enter the threshold-monitor memory command as follows.
    device(config)# threshold-monitor memory actions none high-limit 60 low-limit 40
  3. To adjust cpu usage polling and retry attempts and cause a RASLog message to be sent and collect more diagnostic information when thresholds are exceeded, enter the threshold-monitor cpu command as follows.
    device(config)# threshold-monitor cpu actions loginfo limit 65 poll 60 retry 10
  4. To set the buffer utilization threshold at 75% and polling interval as 130 seconds, enter the threshold-monitor buffer command as follows.
    device(config)# threshold-monitor Buffer limit 75 poll 130 actions loginfo

Example