You said u are using it like so:<div><br></div><div><div>   Check:</div><div>   /usr/local/nagios/libexec/check_http -I <ip address> -u http://<url> -w1 -c2</div><div><br></div><div>Maybe drop the IP address?  I dunno, maybe cuz you have both IP and the url its causing problems. Maybe its replying on the IP, but not on the URL your providing.  You prob only need one or the other if im not mistaken</div>

<div><br></div><div>Cheers!</div><div><br></div><div><br></div><div class="gmail_quote">On Mon, Nov 19, 2012 at 7:14 AM, Jaap van Arragon <span dir="ltr"><<a href="mailto:j.vanarragon@lukkien.com" target="_blank">j.vanarragon@lukkien.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
Does anyone know why it gives me a 200 back?<br>
<br>
If you need more info, I will gladly provide it ;-)<br>
<br>
Thank you.<br>
<br>
Regards,<br>
<br>
Jaap<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On 11/16/12 11:54 AM, "Jaap van Arragon" <<a href="mailto:j.vanarragon@lukkien.com">j.vanarragon@lukkien.com</a>> wrote:<br>
<br>
> Hello,<br>
><br>
> Iım trying to use the check_http plugin to verify if one of our website is<br>
> available.<br>
><br>
> When I check our website it gives me a 200 OK status code back even when the<br>
> website isnıt available en the URL gives me a 503 status code through the<br>
> browser.<br>
><br>
> After some searching I came across the post below:<br>
><br>
> <a href="http://permalink.gmane.org/gmane.network.nagios.plugins.devel/485" target="_blank">http://permalink.gmane.org/gmane.network.nagios.plugins.devel/485</a><br>
><br>
> This states that there is a bug in check_http. The only thing is that the post<br>
> is from 2003 so I expect that the necessary changes are already in the new<br>
> release.<br>
><br>
> Things Iıve tried:<br>
><br>
> - recompiled the latest version of the check_http plugin but the necessary<br>
> changes seems to be integrated there already.<br>
> - updated the plugins package to the latest version for our release<br>
><br>
> Check:<br>
> /usr/local/nagios/libexec/check_http -I <ip address> -u http://<url> -w1 -c2<br>
><br>
> Packages:<br>
><br>
> ii nagios-images 0.5<br>
> ii nagios-nrpe-plugin 2.12-4ubuntu1.10.04.1<br>
> ii nagios-nrpe-server 2.12-4ubuntu1.10.04.1<br>
> ii nagios-plugins 1.4.14-1ubuntu1<br>
> ii nagios-plugins-basic 1.4.14-1ubuntu1<br>
> ii nagios-plugins-standard 1.4.14-1ubuntu1<br>
> ii nagios3 3.2.0-4ubuntu2.2<br>
> ii nagios3-cgi 3.2.0-4ubuntu2.2<br>
> ii nagios3-common 3.2.0-4ubuntu2.2<br>
> ii nagios3-core 3.2.0-4ubuntu2.2<br>
> ii nagiosgrapher 1.7.1-1<br>
><br>
> Does anyone know why it gives me a status 200 OK back? At the moment I can't<br>
> rely on my Nagios checks..<br>
><br>
> Thank you in advance<br>
><br>
> Regards<br>
> Jaap<br>
<br>
<br>
<br>
------------------------------------------------------------------------------<br>
Monitor your physical, virtual and cloud infrastructure from a single<br>
web console. Get in-depth insight into apps, servers, databases, vmware,<br>
SAP, cloud infrastructure, etc. Download 30-day Free Trial.<br>
Pricing starts from $795 for 25 servers or applications!<br>
<a href="http://p.sf.net/sfu/zoho_dev2dev_nov" target="_blank">http://p.sf.net/sfu/zoho_dev2dev_nov</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Christianity: The belief that some cosmic Jewish Zombie can make you live forever if you symbolically eat his flesh and telepathically tell him that you accept him as your master, so he can remove an evil force from your soul that is present in humanity because a rib-woman was convinced by a talking snake to eat from a magical tree.  Makes perfect sense!<br>


</div>