Nagios 4.2.1 snmp oid
Posted: Thu Jan 19, 2017 5:09 am
Hello everyone!
I have Nagios Core 4.2.1 installed on Centos 7. I wan't to monitor cisco switches by snmp oid's.
For exmaple, I got the oid 1.3.6.1.4.1.9.9.109.1.1.1.1.5.1 ( Cisco CPU load 5min). I know, I can easily monitor this with "check_snmp" plugin, but the output is "SNMP OK - 4". I wan't to see the percent of the CPU load.
I tried this plugin:
How can I get the percent of the CPU Load?
I have Nagios Core 4.2.1 installed on Centos 7. I wan't to monitor cisco switches by snmp oid's.
For exmaple, I got the oid 1.3.6.1.4.1.9.9.109.1.1.1.1.5.1 ( Cisco CPU load 5min). I know, I can easily monitor this with "check_snmp" plugin, but the output is "SNMP OK - 4". I wan't to see the percent of the CPU load.
I tried this plugin:
Code: Select all
./check_snmp -H x.x.x.x -o 1.3.6.1.4.1.9.9.109.1.1.1.1.5.1 -m all -w 50 -c 80
Output: SNMP OK - 4 | SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.5.1=4;50;80;50;80;