> 
> > If I try to call it with this symbolic name from snmpget, with or
> > without quotes, it fails with:
> > 
> > snmpget ... hostname ...  nsExtendOutputFull."extt"
> 
> You *do* need the quotes, but they need to reach snmpget, rather
> than being swallowed by the shell.   Try:
> 
>     snmpget ... hostname ...  nsExtendOutputFull.\"extt\"

This works well for direct calls from the shell, but Nagios's check_snmp
plugin is unable in any combination to pass along the quotes to snmpget, 
in fact the program dies trying to do a 'popen' of the command string, 
using its own spopen function. The Nagios mailing list doesn't have an 
answer thusfar. I apologize if this is off-topic here, but is anyone here 
by chance using extend scripts with check_snmp? Curiously, why the quotes 
in the OID's anyway? Thanks.

-- 
- 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