The set protocols snmp trap-group event cpu-threshold high command sets the overload threshold for CPU usage monitoring to send SNMP Trap messages.
set protocols snmp trap-group event cpu-threshold high <high-value>
Specifies the overload threshold for CPU usage monitoring to send SNMP Trap messages. The value is an integer that ranges from 1 to 100, indicating 1% to 100%.
The default value is 80.
Use this command to set the CPU usage overload threshold. When CPU usage exceeds the overload threshold for a continuous time period, the system logs the event and sends an SNMP Trap message. By viewing log information, you can effectively monitor CPU usage.
- If the CPU usage reaches 100%, the system won’t send SNMP Trap message.
- Please set the CPU usage monitoring overload threshold carefully. If the CPU usage overload threshold is set too small, the system generates alarms frequently. If the CPU usage overload threshold is set too large, you cannot be notified of the CPU usage overload in a timely manner.
- Set the overload threshold for CPU usage to 80%.