[Nagiosplug-help] check_http 500 error
jdovidio at gmail.com
Fri Jan 28 13:26:09 CET 2011
First of all, you rock :) you make me realize what my mistake was. I tend to
use IP addresses in the address property on the host definition.
When getting the data for you, I figure that on the command definition I had
$HOSTADDRESS$ on both the -H and the -l as below.
command_line $USER1$/check_http -H $HOSTADDRESS$ -l
$HOSTADDRESS$ -t 4 -w $ARG1$ -c $ARG2$ -p $ARG3$ -N
I changed the command definition to look like:
command_line $USER1$/check_http -H $HOSTNAME$ -l $HOSTADDRESS$ -t
4 -w $ARG1$ -c $ARG2$ -p $ARG3$ -N
Now all looks good on my testing environment.
On Fri, Jan 28, 2011 at 8:06 AM, Thomas Guyot-Sionnest <dermoth at aei.ca>wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> On 11-01-28 05:49 AM, Javier D'Ovidio wrote:
> > Thank you Thomas, I actually tried that already (I think I tried every
> > single option with check_http)
> So can you show me the check_site_http command definition where you pass
> both -H and -I parameters?
> Also, what did you put for "address" in your host definition?
> - --
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> -----END PGP SIGNATURE-----
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Help