check_snmp oddity
Posted: Wed Mar 04, 2015 9:00 am
when I run snmpwalk using v2 or v1 on IP172.168.101.139 OID:.1.3.6.1.2.1.1.3 i get the sysUpTime.0
when i do the same with check_snmp i get the message There is no such variable name in this MIB.
is there some formatting for check_snmp that I need?
P.S. this however does work:
# /usr/lib/nagios/plugins/check_snmp -H 172.168.101.139 -C public -o .1.3.6.1.2.1.25.5.1.1.1.1
SNMP OK - 1654 | iso.3.6.1.2.1.25.5.1.1.1.1=1654
# snmpwalk -v2c -c public 172.168.101.139 .1.3.6.1.2.1.1.3
iso.3.6.1.2.1.1.3.0 = Timeticks: (59448377) 6 days, 21:08:03.77
# /usr/lib/nagios/plugins/check_snmp -H 172.168.101.139 -C public -o .1.3.6.1.2.1.1.0.1
External command error: Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: iso.3.6.1.2.1.1.0.1
when i do the same with check_snmp i get the message There is no such variable name in this MIB.
is there some formatting for check_snmp that I need?
P.S. this however does work:
# /usr/lib/nagios/plugins/check_snmp -H 172.168.101.139 -C public -o .1.3.6.1.2.1.25.5.1.1.1.1
SNMP OK - 1654 | iso.3.6.1.2.1.25.5.1.1.1.1=1654
# snmpwalk -v2c -c public 172.168.101.139 .1.3.6.1.2.1.1.3
iso.3.6.1.2.1.1.3.0 = Timeticks: (59448377) 6 days, 21:08:03.77
# /usr/lib/nagios/plugins/check_snmp -H 172.168.101.139 -C public -o .1.3.6.1.2.1.1.0.1
External command error: Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: iso.3.6.1.2.1.1.0.1