The set protocols snmp trap-group event cpu-threshold interval command configures the time duration for which the CPU usage continues to exceed the overload threshold or fall below the low threshold.
set protocols snmp trap-group event cpu-threshold interval <interval>
Specifies the time duration. The value is an integer, in seconds, that ranges from 5 to 4294967295.
The default value is 300s.
Generally, if the CPU usage of the system exceeds the threshold for a short period of time, the CPU usage is considered to be in the normal range, and no CPU usage alarm will be generated. Similarly, if the CPU usage falls below the low threshold but doesn’t persist for the duration of interval time, again, no CPU usage alarm will be sent.
The system samples CPU usage one time every 5 seconds, if the CPU usage is out of the threshold range over this interval time, a SNMP trap message will be sent. But once CPU usage falls back into the threshold range and the duration time is not up, the duration time then will be recalculated and the trap message won’t be sent.
- Configure the time duration when the CPU usage continues to exceed the overload threshold or fall below the low threshold to 300s.