Firmware version comes back as hex string?

DOWNLOAD THE LATEST FIRMWARE HERE
User avatar
abjornson
Member
 
Posts: 16
Joined: Tue Sep 01, 2015 4:50 pm
Location: Everywhere
Has thanked: 5 times
Been thanked: 2 times

Firmware version comes back as hex string?

Tue Feb 23, 2016 5:10 pm

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.

User avatar
Eric Stern
Employee
Employee
 
Posts: 532
Joined: Wed Apr 09, 2014 9:41 pm
Location: Toronto, Ontario
Has thanked: 0 time
Been thanked: 130 times

Re: Firmware version comes back as hex string?

Tue Feb 23, 2016 6:54 pm

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.

User avatar
sirhc
Employee
Employee
 
Posts: 7416
Joined: Tue Apr 08, 2014 3:48 pm
Location: Lancaster, PA
Has thanked: 1608 times
Been thanked: 1325 times

Re: Firmware version comes back as hex string?

Tue Feb 23, 2016 7:23 pm

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
Support is handled on the Forums not in Emails and PMs.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.

Return to Hardware and software issues

Who is online

Users browsing this forum: No registered users and 54 guests