2008/5/22 Lean Cornelius <[EMAIL PROTECTED]>:
> After upgrading to Net-SNMP v5.4.1 yesterday everything stopped working.
> I now understand that I should not use "exec" anymore, but "extend" instead.
> This is working now, but why is Net-SNMP adding so many values to my OID?

The MIB structure used for the "extend" output is not the same as
that for the old "exec" directive.   If nothing else, it is now a valid MIB
structure, which the old format was not!

See NET-SNMP-EXTEND-MIB for the structure of this output.
The same structure is used for your output - just rooted at
the OID that you specify.


> I have figured out that by assigning a .4 at the end of my OID I get
> less garbage.

That is nsExtendOutput2Table - i.e. the output, one line at a time.

> Now my question is as follows:
>
> What are all those values after my OID that I specified
> (.1.2.10.83.65.82.53.49.48.73.110.102.111)?

.1.2  specify the nsExtendOutLine object  (or your equivalent)

10.83.65.82.53.49.48.73.110.102.111 is the string index of this entry
This translates to "SAR510Info" - i.e. the name you specified
in the "extend" directive.


You might find it helpful to take a copy of the NET-SNMP-EXTEND-MIB file,
change the name of the MIB to something different, and tweak the
"nsExtendObjects" OID to match your registration OID.
   If you then load this MIB file as usual, you should find that the
output is displayed in a more meaningful manner.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to