set protocols snmp trap-group event cpu-threshold high


The set protocols snmp trap-group event cpu-threshold high command sets the overload threshold for CPU usage monitoring to send SNMP Trap messages.


Command Syntax

set protocols snmp trap-group event cpu-threshold high <high-value>


Parameter

Parameter

Description

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.


Usage Guidelines

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.

NOTE:

  •   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.


Example

  •   Set the overload threshold for CPU usage to 80%.
admin@Xorplus# set protocols snmp trap-group event cpu-threshold high 80
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.