no more luck<br><br>linuxserver:/usr/local/nagios/etc# ../libexec/check_snmp -H <a href="http://10.2.20.20">10.2.20.20</a> -C public -o iso.3.6.1.2.1.43.16.5.1.2.1.1<br><br>SNMP OK - "Ready - Select Features to scan your job." | Printer-MIB::
prtConsoleDisplayBufferText.1.1="Ready - Select Features to scan your job.";;;;<br><br>linuxserver:/usr/local/nagios/etc# ../libexec/check_snmp -H <a href="http://10.2.20.20">10.2.20.20</a> -C public -o iso.3.6.1.2.1.43.16.5.1.2.1.1
-s \"Ready\ -\ Select\ Features\ to \ scan\ your\ job.\"<br><br>SNMP CRITICAL - *"Ready - Select Features to scan your job."* | Printer-MIB::prtConsoleDisplayBufferText.1.1="Ready - Select Features to scan your job.";;;;
<br><br><br><div><span class="gmail_quote">2006/1/23, Michael Schwartzkopff <<a href="mailto:misch@multinet.de">misch@multinet.de</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Am Montag, 23. Januar 2006 15:25 schrieb Toto Capuccino:<br>> Hi all,<br>><br>> I run a check_snmp on an OID that displays the status of a printer.<br>> snmpwalk gives :<br>> iso.3.6.1.2.1.43.16.5.1.2.1.1 = STRING: "Ready - Select Features to scan
<br>> your job."<br>> when i run a check_snmp -H <a href="http://10.2.20.20">10.2.20.20</a> -C public -o<br>> iso.3.6.1.2.1.43.16.5.1.2.1.1 -s "Ready - Select Features to scan your<br>> job."<br>
> i get always a warning.<br>><br>> What i'd like is to have a warning when something's different from string<br>> "Ready - Select Features to scan your job."<br>><br>> Thanks.<br><br>hi,<br><br>
try ... --string\"Ready\ -\ Select\ Features\ to \ scan\ your\ job.\"<br>or escape "\ " and \" otherwise.<br><br>--<br>Dr. Michael Schwartzkopff<br>MultiNET Services GmbH<br>Bretonischer Ring 7<br>
85630 Grasbrunn<br><br>Tel: (+49 89) 456 911 - 0<br>Fax: (+49 89) 456 911 - 21<br>mob: (+49 174) 343 28 75<br><br>PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B<br>Skype: misch42<br><br><br></blockquote>
</div><br>