Hi Thomas,<br><br>Thanks for the quick response. Your solution has helped me. Timeout was the real issue.<br>After increasing the negate plugin's timeout, it is working properly.<br><br>Thanks & Regards,<br>  Satish Kumar P<br>
<br><div class="gmail_quote">On Wed, May 21, 2008 at 3:08 PM, Thomas Guyot-Sionnest <<a href="mailto:dermoth@aei.ca">dermoth@aei.ca</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<div class="Ih2E3d"><br>
On 21/05/08 05:19 AM, Satish Kumar P wrote:<br>
> Hi,<br>
><br>
> I have been trying to test and implement the negate wrapper in our<br>
> Nagios environment. It has worked successfully with all (except one) of<br>
> the plugins. 'negate' is not working as expected when I try to use with<br>
> check_http (with -u <URL> argument especially). When I actually run the<br>
> negate wrapper with check_http plugin against a web server (enabled with<br>
> SSL), it doesn't negate the state returned (only when the web server is<br>
> down).<br>
><br>
> When the web server is down (connect to socket times out) and check_http<br>
> plugin actually returns STATE_CRITICAL with time out error. But when<br>
> negate wrapper is used, surprisingly it doesn't negate the output, but<br>
> instead returns STATE_CRITICAL. I have included the commands and the<br>
> output of the commands as below:<br>
<br>
</div>Negate has a timeout option. Make sure it's higher that the plugin's<br>
timeout to catch plugin timeouts.<br>
<br>
Thomas<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.6 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org" target="_blank">http://enigmail.mozdev.org</a><br>
<br>
iD8DBQFIM+1/6dZ+Kt5BchYRAmiJAJ9kOT681r9/VUod/4goIpVKvR1PsgCgxCBZ<br>
AznjgVhc8C9XiT9fpQ6wmvo=<br>
=ZDOE<br>
-----END PGP SIGNATURE-----<br>
</blockquote></div><br>