did you try <br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">/check_snmp -t 3 -P 3 -H <a href="http://192.168.16.11">192.168.16.11</a>
 -w
1 -c 5 -L authPriv -U XXXXXXXX -a MD5 -A XXXXXXXX -X XXXXXXXX -o
nsExtendResult.<span style="color: rgb(255, 0, 0);">'</span>"extt2"<span style="color: rgb(255, 0, 0);">' <br></span></blockquote><div><br><br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2006/2/16, Kyle Tucker <<a href="mailto:kylet@panix.com">kylet@panix.com</a>>:</blockquote><div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>        I'm trying to use the new extend directive<br>in Net-SNMP and the symbolic OIDs literally contain<br>a quote. I can't get check_snmp to be satisfied with<br>the quotes I need to pass. I need to be able to pass
<br>nsExtendResult."extt2" to snmpd. Any suggestions?<br><br>Thanks.<br><br>/usr/local/nagios/libexec/check_snmp -t 3 -P 3 -H <a href="http://192.168.16.11">192.168.16.11</a> -w 1 -c 5 -L authPriv -U XXXXXXXX -a MD5 -A XXXXXXXX -X XXXXXXXX -o nsExtendResult."extt2"
<br>Could not open pipe: /usr/local/bin/snmpget -t 3 -r 5 -m ALL -v 3 -l authPriv -a MD5 -u XXXXXXXX -A XXXXXXXX -x DES -X XXXXXXXX  <a href="http://192.168.16.11:161">192.168.16.11:161</a>  nsExtendResult."extt2"
<br><br>/usr/local/nagios/libexec/check_snmp -t 3 -P 3 -H <a href="http://192.168.16.11">192.168.16.11</a> -w 1 -c 5 -L authPriv -U XXXXXXXX -a MD5 -A XXXXXXXX -X XXXXXXXX -o nsExtendResult.\"extt2\"<br>Could not open pipe: /usr/local/bin/snmpget -t 3 -r 5 -m ALL -v 3 -l authPriv -a MD5 -u XXXXXXXX -A XXXXXXXX -x DES -X XXXXXXXX  
<a href="http://192.168.16.11:161">192.168.16.11:161</a>  nsExtendResult.\"extt2\"<br><br><br>--<br>- Kyle<br>---------------------------------------------<br><a href="mailto:kylet@panix.com">kylet@panix.com</a>
   <a href="http://www.panix.com/~kylet">http://www.panix.com/~kylet</a><br>---------------------------------------------<br><br><br>-------------------------------------------------------<br>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
<br>for problems?  Stop!  Download the new AJAX search engine that makes<br>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!<br><a href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642">
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642</a><br>_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">
Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
<br>::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br><br clear="all"><br>-- <br>Le bon sens est la chose du monde la mieux partagée.