> 
> No - it *does* fix the repeated execution problem.
> The reasons I suggested you "investigate" it are:
> 
>   a)  The MIB structure is significantly different to the
>       original "exec" directive (as you've no doubt discovered).
>       Now I believe it's a distinct improvement in flexibility
>       and functionality, but this may be a disadvantage for
>       some people.

Yes, I can see from the returned strings, I can make Nagios get
much more out of queries.

>   b)  I'm an Englishman, and one doesn't wish to push one's own
>       contributions too strongly.  Such behaviour is extremely
>       unsporting, and simply isn't the done thing, I say, what?

Understood.

> You *do* need the quotes, but they need to reach snmpget, rather
> than being swallowed by the shell.   Try:

It was indeed a shell quoting issue - thanks.

> /usr/local/bin/snmpget -t 3 -r 5 -m ALL -v 3 -l authPriv -a MD5 -u XXXXXX -A 
> XXXXXX
 -x DES -X XXXXXX 192.168.xx.xx:161 nsExtendOutputFull.\"extt\"
> NET-SNMP-EXTEND-MIB::nsExtendOutputFull."extt" = STRING: 0:extt running okay

> Oh yes - one other thing.

> If the Net-SNMP agent is built *without* the 'ucd-snmp/extensible'
> module, then new 'agent/extend' module will step in and implement
> the original UCD-SNMP-SNMP::extTable, using the new (caching)
> approach.  This should also address the duplicate execution problem.

Does the above being returned by NET-SNMP-EXTEND-MIB indicate which
module is being used? It appears from initial tests that my scripts
now only execute once, so I can assume the new agent/extend is being
used?

Thanks so much all your help.

-- 
- Kyle 
---------------------------------------------
[EMAIL PROTECTED]   http://www.panix.com/~kylet    
---------------------------------------------


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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