Thomas:<div><br></div><div>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.</div><div>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.</div>
<div><br></div><div><div>define command{</div><div>        command_name    check_http_port</div><div>        command_line    $USER1$/check_http -H $HOSTADDRESS$ -l $HOSTADDRESS$ -t 4 -w $ARG1$ -c $ARG2$ -p $ARG3$ -N</div>
<div>        }</div></div><div><br></div><div>I changed the command definition to look like:</div><div><div><div><br></div><div>define command{</div><div>        command_name    check_http_port</div><div>        command_line    $USER1$/check_http -H $HOSTNAME$ -l $HOSTADDRESS$ -t 4 -w $ARG1$ -c $ARG2$ -p $ARG3$ -N</div>
<div>        }</div></div></div><div><br></div><div><br></div><div>Now all looks good on my testing environment. </div><div><br></div><div>Thanks you.</div><div><br></div><div><br></div><div>Javier.</div><div><br><br><div class="gmail_quote">
On Fri, Jan 28, 2011 at 8:06 AM, Thomas Guyot-Sionnest <span dir="ltr"><<a href="mailto:dermoth@aei.ca">dermoth@aei.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
</div><div class="im">On 11-01-28 05:49 AM, Javier D'Ovidio wrote:<br>
> Thank you Thomas, I actually tried that already (I think I tried every<br>
> single option with check_http)<br>
<br>
</div>So can you show me the check_site_http command definition where you pass<br>
both -H and -I parameters?<br>
<br>
Also, what did you put for "address" in your host definition?<br>
<div class="im"><br>
Thanks<br>
<br>
- --<br>
Thomas<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.10 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
</div>iEYEARECAAYFAk1CoyAACgkQ6dZ+Kt5BchbGrACfSpwo2gJiw/6piT6UWbyoQ7zD<br>
GToAni/EVq7A/HlZ928wVECjV2VDaygt<br>
=R0FR<br>
-----END PGP SIGNATURE-----<br>
</blockquote></div><br></div>