On 1 April 2010 13:52, PEOPLES, MICHAEL P (ATTSI) <[email protected]> wrote:
> I should note that "standard" Solaris 10 installations utilize the 5.0.9 
> version
> of the agent, which does not appear to support the "extend" directive.

Correct.
The first code for extend directive was written in mid 2004,
while 5.0.9 was released in September 2003.   This version
is not exactly cutting edge!


> Where might I find good documentation on the use of
> the "extend" directive?

It's covered in the snmpd.conf(5) man page (at least in current releases)
Also have a look at the NET-SNMP-EXTEND-MIB, which describes the
structure of the output.


> I can't see, from the documentation, that it behaves much differently from 
> "exec".

The basic functionality is essentially the same.
There are two main areas of difference.

  a) There is a fuller (consistent and legal) structure for retrieving
       output from the command.  This is described in the MIB above,
       and is the same for both "extend {name} {command}" and
       "extend {OID} {name} {command}" directives.

       (With "exec", the structure of the output is different, depending
       on whether there's an OID specified or not!)

  b)  "extend"-style directives can be configured via SET requests
        (see the nsExtendConfigTable), including command-line
        options and standard input,  "exec" commands can only
        be set up via the snmpd.conf file.

Dave

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to