Page 1 of 1

Firmware version comes back as hex string?

Posted: Tue Feb 23, 2016 5:10 pm
by abjornson
Tried searching, but didn't find anyone else mentioning this.

I'm trying to track firmware versions of wispSwitches in my network.

I know this is reported as .1.3.6.1.4.1.46242.1.0

but when I snmpwalk this, I get back a hex string

snmpwalk -v2c -c XXXXX 10.20.6.37 .1.3.6.1.4.1.46242.1.0
SNMPv2-SMI::enterprises.46242.1.0 = Hex-STRING: 31 2E 33 2E 39 00 6E 00 00 00 00 00 00 00 00 00

if I force snmpwalk to interpret as ascii, then i get the firmware version I want:
snmpwalk -Oa -v2c -c XXXXX 10.20.6.37 .1.3.6.1.4.1.46242.1.0
SNMPv2-SMI::enterprises.46242.1.0 = STRING: "1.3.9.n........."
But unfortunately my monitoring tool (Zabbix) doesn't have an equivalent setting of -Oa

This seems to be related to this: http://www.net-snmp.org/wiki/index.php/ ... _the_tools

Has anyone dealt with this? Why does this particular value come back as hex? I get lots of other values as printable strings from the netonix.

Re: Firmware version comes back as hex string?

Posted: Tue Feb 23, 2016 6:54 pm
by Eric Stern
Since you do not appear to be using our MIB snmpwalk has to guess at the data type and the embedded NULLS in the string might be confusing it into thinking it is not a plain string.

The incorrect version string was recently reported by someone else and will be fixed in the next release.

Re: Firmware version comes back as hex string?

Posted: Tue Feb 23, 2016 7:23 pm
by sirhc
I moved this post to the proper thread, it was posted under share your installation picture?? :ak:

Here is where are MIB files are located: viewtopic.php?f=17&t=251