[Nagiosplug-devel] check_http redirects
Thomas Guyot-Sionnest
dermoth at aei.ca
Thu Jan 28 10:13:11 CET 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 27/01/10 12:26 PM, Bryan Irvine wrote:
> We’ve had a situation where we changed some of our servers to hand out
> 302’s and our check_http which had been looking at those site and
> looking for a string didn’t fail. They continue to report OK even
> though the string (or regex) isn’t found. If I add –onredirect=follow
> then the check_http reports warning as expected on the failed devices.
>
>
>
> Looking over check_http.c this seems to be the expected default behavior
> but I kind of don’t think it should be. I understand the onredirect is
> the proper way to do this, but should check_http really report OK even
> though the string isn’t found on the page?
>
>
>
> Would a diff altering this behavior be welcome? Or is it this way for
> some reason I don’t yet understand?
Have you tried with the latest version on the Nagios plugins? This
shouldn't happen anymore on 1.4.14.
- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFLYVUn6dZ+Kt5BchYRAhMRAKCCQ0505Zxt716BUz3CnXxSYBBLGQCeOJfb
C6ENOwqNQDcFPFIlYEojJgg=
=j5Hq
-----END PGP SIGNATURE-----
More information about the Devel
mailing list