On Thu, 2005-10-13 at 12:03 +0200, Santanu Misra wrote:
> # lmstat.pl -n  .1.3.6.1.4.1.9999.1.101.1
> .1.3.6.1.4.1.9999.1.101.1
> string
> QAC_runtime
> .1.3.6.1.4.1.9999.1.101.2
> string
> QAD_Planning
        [snip]

In which case, it's hardly surprising that things aren't
working!  The pass-through command is expected to return
*ONE* varbind value (represented by a set of three lines).

The agent isn't expecting the whole lot!

Your script needs to look at the OID parameter passed in,
and return either the corresponding OID/type/value ('-g')
or the OID/type/value triplet for the *next* entry ('-n')

Just that one set - nothing else.

Dave


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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