[Nagiosplug-help] check_http keeps coming up with 404

Thomas Guyot-Sionnest dermoth at aei.ca
Thu Sep 10 00:40:34 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/09/09 05:20 PM, decon brody wrote:
> Hi all, I have the following configuration:
> 
> remote sever:
> /etc/nagios/nrpe.cfg
> command[check_http]=/usr/lib64/nagios/plugins/check_http -I xx.xx.xx.xxx
> -u ident.html -w 5 -c 20
> 
> (note: I have other checks on this server that are working just fine)

Shouldn't you have a / before that file?
check_http -I xx.xx.xx.xxx -u /ident.html -w 5 -c 20

Other than that, maybe the host expects a specific host header (-H)...

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKqC7h6dZ+Kt5BchYRAhUQAJsHCFtP3FMxm/ULp61TMnU3663q/gCfakS9
E075zoT+SvfHPeHybyNtPio=
=f6q3
-----END PGP SIGNATURE-----




More information about the Help mailing list