snmpwalk vs snmpget
Posted: Tue Jan 19, 2016 10:48 am
I am trying to pull some values from SNMP for monitoring a server and there is no combined value so trying to pull what I can and parse it. When I do:
snmpwalk -v2c -c public 10.10.0.8 enterprises.674.10909.1.200.10.1.22.1
I get: SNMPv2-SMI::enterprises.674.10909.1.200.10.1.22.1 = Hex-STRING: 03 03 03 03 03 03
When I do:
snmpget -v 2c -c public 10.10.0.8 enterprises.674.10909.1.200.10.1.22.1
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: SNMPv2-SMI::enterprises.674.10909.1.200.10.1.22.1
If I do the full .1.3.6.1.4.... it does the same thing. What am I doing wrong above with snmpget?
Thanks.
JR
snmpwalk -v2c -c public 10.10.0.8 enterprises.674.10909.1.200.10.1.22.1
I get: SNMPv2-SMI::enterprises.674.10909.1.200.10.1.22.1 = Hex-STRING: 03 03 03 03 03 03
When I do:
snmpget -v 2c -c public 10.10.0.8 enterprises.674.10909.1.200.10.1.22.1
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: SNMPv2-SMI::enterprises.674.10909.1.200.10.1.22.1
If I do the full .1.3.6.1.4.... it does the same thing. What am I doing wrong above with snmpget?
Thanks.
JR