Page 1 of 1

snmpwalk vs snmpget

Posted: Tue Jan 19, 2016 10:48 am
by jriker1
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

Re: snmpwalk vs snmpget

Posted: Tue Jan 19, 2016 3:49 pm
by hsmith
This is strange, and I don't have a great answer yet. What kind of device are you running this check against?

Re: snmpwalk vs snmpget

Posted: Tue Jan 19, 2016 4:32 pm
by jriker1
Dell Precision workstation with Dell Command Monitor software installed. I've worked around it by just processing the request with snmpwalk and filtering out all but the string with the results since there is technically not multiple levels to walk and all good now.

Thanks.

JR

Re: snmpwalk vs snmpget

Posted: Tue Jan 19, 2016 4:40 pm
by hsmith
You've officially confused us :). I consulted with one of our techs that has worked with SNMP a lot longer than I have and he's a little bit confused as well. It may just be something weird to do with that dell system you're working on, as this behavior is not normal. I'm glad it's resolved, would you like me to try to find a better explanation, or are you going to just roll with the working configuration for now?