check_snmp CPU with Cisco Switch
Posted: Thu Jun 29, 2017 7:33 pm
So I downloaded CISCO-SMI.my and CISCO-ENVMON-MIB.my into my /usr/share/snmp/mibs directory.
When I do an snmpwalk, it returns a value of Gauge32: 23
[root@nagios-server-model libexec]# snmpwalk -v2c -c maunakea 172.16.0.4 .1.3.6.1.4.1.9.9.109.1.1.1.1.7SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.7.1 = Gauge32: 23
But when I use the ./check_snmp, it says SNMP is OK but no such instance exists.
[root@nagios-server-model libexec]# ./check_snmp -P 2c -C maunakea 172.16.0.4 -o 1.3.6.1.4.1.9.9.109.1.1.1.1.7
SNMP OK - No Such Instance currently exists at this OID |
I looked it up and said that I need to run snmpwalk for the tree. So I did smpwalk -v2c -c maunakea 172.16.0.4 .1.3.6.1.4.1.9.9 and rerun the commands, but it still gave me the same response.
How do I go about fixing this?
When I do an snmpwalk, it returns a value of Gauge32: 23
[root@nagios-server-model libexec]# snmpwalk -v2c -c maunakea 172.16.0.4 .1.3.6.1.4.1.9.9.109.1.1.1.1.7SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.7.1 = Gauge32: 23
But when I use the ./check_snmp, it says SNMP is OK but no such instance exists.
[root@nagios-server-model libexec]# ./check_snmp -P 2c -C maunakea 172.16.0.4 -o 1.3.6.1.4.1.9.9.109.1.1.1.1.7
SNMP OK - No Such Instance currently exists at this OID |
I looked it up and said that I need to run snmpwalk for the tree. So I did smpwalk -v2c -c maunakea 172.16.0.4 .1.3.6.1.4.1.9.9 and rerun the commands, but it still gave me the same response.
How do I go about fixing this?