On 20/07/07, Thomas Zenz <[EMAIL PROTECTED]> wrote:
> OK, but what about my Question concerning the MIB Structure,

The MIB structure is basically that defined in the MIB file
    NET-SNMP-EXTEND-MIB

with the OID that you specify as the root (instead of 'neExtendObjects').

It now has three separate tables:
   - one for the configuration of the "extend" directive
   - one for the basic output (e.g. number of lines, first line, total
output, etc)
   - one for the output taken a line at a time.

The "name" token from the extend directive is used as the index to each
of these tables.   This means that you can now use

    extend  .1.2.3.4.5.6  name1  someCommand
    extend  .1.2.3.4.5.6  name2  someCommand

and things will work correctly.
Before
    exec  .1.2.3.4.5.6  name1  someCommand
    exec  .1.2.3.4.5.6  name2  someCommand

would cause problems (since they were both trying to use the same
OIDs for results).


I'd suggest that you start by using

     extend    name1   someCommand

(without an explicit OID), and get a feel for what the output looks like
under NET-SNMP-EXTEND-MIB::nsExtendObjects.    That should help
clarify how things work when the MIB structure is moved elsewhere.



Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to