<div><span class="gmail_quote">On 7/9/07, <b class="gmail_sendername">Patrick Morris</b> <<a href="mailto:patrick.morris@hp.com">patrick.morris@hp.com</a>> wrote:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
Sure. See the "negate" plugin.</blockquote><div><br class="webkit-block-placeholder"></div><div>Thanks!</div><div><br class="webkit-block-placeholder"></div><div>For whatever reason, I'm not getting what I'm expecting.
</div><div><br class="webkit-block-placeholder"></div><div>Oddly, I get the same OK result, regardless of whether or not I use the negate command.</div><div><br class="webkit-block-placeholder"></div><div>e.g.</div><div><br class="webkit-block-placeholder">
</div><div><div>[root@term-server plugins]# ./check_http -H <a href="http://www.google.com">www.google.com</a></div><div>HTTP OK HTTP/1.0 200 OK - 6045 bytes in 0.101 seconds |time=0.101285s;;;0.000000 size=6045B;;;0</div>
<div>[root@term-server plugins]#</div><br class="webkit-block-placeholder"></div><div>and</div><div><br class="webkit-block-placeholder"></div><div><div>[root@term-server plugins]# ./negate "/usr/lib/nagios/plugins/check_http -H
<a href="http://www.google.com">www.google.com</a>"</div><div>HTTP OK HTTP/1.0 200 OK - 6043 bytes in 0.616 seconds |time=0.615904s;;;0.000000 size=6043B;;;0</div><div><br> </div><div>Not sure what exactly I'm doing wrong....
</div><div><br class="webkit-block-placeholder"></div><div>?</div></div></div>