reading Livingston snmp extensions

Ed Donovan (ed@capecod.net)
23 Aug 1997 00:05:29 -0400

Adam Goryachev <adamg@dot.net.au> writes:

> Just upgraded to ComOS 3.7 and am trying to get the extra livingston
> SNMP variables to work. I am using the cmu-snmp package under linux
> 2.0.x, and it seems to work fine for the internet standard variables
> but not the livingston extensions. I understand that I somehow need to
> incorporate the livingston.mib with my mib.txt file but I'm not sure
> exactly how to proceed with this. I can't seem to find a utility to do
> it, and I definitely don't understand the format of the livingston.mib
> file (it looks very different to the mib.txt in some respects...

Hi Adam -

CMU snmp has a problem parsing the mib file; I haven't seen a fix for
that yet. But if you specify the variables by number, you don't need
the mib file involved. The top of the Livingston mib extensions tree is
".1.3.6.1.4.1.307"; to get specific subsets, you can trace down to the
variables from there (though that can be a pain :). To get the value of
"livingstonSerialUser" for each port, try this:

snmpwalk portmaster public .1.3.6.1.4.1.307.3.2.1.1.1.4

(generic portmaster name and readcommunity string)

This works fine with CMU snmp on my Debian Linux box. Slightly
inconvenient details: the parallel port is included, so 31 values are
returned, and the variable numbers start with 1, where the port numbers
start with 0 (it seems like snmp doesn't allow zero). Hm, also I
thought it'd be a little faster, but I haven't looked deeply into that.

Hope this helps,

--
Ed Donovan					ed@capecod.net