[Nagiosplug-help] check_http 500 error
Javier D'Ovidio
jdovidio at gmail.com
Fri Jan 28 13:26:09 CET 2011
Thomas:
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.
define command{
command_name check_http_port
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:
define command{
command_name check_http_port
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.
Thanks you.
Javier.
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?
>
> Thanks
>
> - --
> Thomas
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk1CoyAACgkQ6dZ+Kt5BchbGrACfSpwo2gJiw/6piT6UWbyoQ7zD
> GToAni/EVq7A/HlZ928wVECjV2VDaygt
> =R0FR
> -----END PGP SIGNATURE-----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20110128/02b1ccc5/attachment.html>
More information about the Help
mailing list