Configuring SNMP Threshold
You can configure the SNMP Threshold using the below command:
Reference
Command
[no] snmp-server trap <cpu-util/mem-util> threshold <%>
Description
SNMP trap threshold configuration
Parameters
SNMP threshold
Mode
CONFIG
Example
pbnoscli# configure terminal
pbnoscli(config)# snmp-server
community trap
pbnoscli(config)# snmp-server trap
cpu-util mem-util modify
pbnoscli(config)# snmp-server trap cpu-util threshold
<cpuutil>
pbnoscli(config)# snmp-server trap cpu-util threshold 70
pbnoscli(config)# snmp-server trap mem-util threshold 70
pbnoscli(config)#
You can verify the configuration by using the command(s) below:
pbnoscli# show snmp-trap thresholds
======================================
System-Object Threshold
======================================
CPU utilization - 70%
Memory utilization - 70%
pbnoscli#
pbnoscli# show running-config
configure terminal
snmp-server trap modify 2 server-id 1 10.2.2.11 port 29 vrf None community public
snmp-server community public
snmp-server trap cpu-util threshold 70
snmp-server trap mem-util threshold 70
interface mgmt
ip address 10.4.4.52/24 gateway 10.4.4.1
!
pbnoscli#
Last updated
Was this helpful?