snmpwalk vs snmpget

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
jriker1
Posts: 115
Joined: Tue Dec 15, 2015 8:40 pm

snmpwalk vs snmpget

Post 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
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: snmpwalk vs snmpget

Post by hsmith »

This is strange, and I don't have a great answer yet. What kind of device are you running this check against?
Former Nagios Employee.
me.
jriker1
Posts: 115
Joined: Tue Dec 15, 2015 8:40 pm

Re: snmpwalk vs snmpget

Post 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
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: snmpwalk vs snmpget

Post 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?
Former Nagios Employee.
me.
Locked