Re: [Nagios-users] Check_http status 503 gives 200 OK

2012-11-22 Thread Claudio Kuenzler
[mailto:pitchf...@ederdrom.de] To: Nagios Users List [mailto:nagios-users@lists.sourceforge.net] Sent: Mon, 19 Nov 2012 18:07:52 +0100 Subject: Re: [Nagios-users] Check_http status 503 gives 200 OK Your example /usr/local/nagios/libexec/check_http -I ip address -u http://url -w1 -c2

Re: [Nagios-users] Check_http status 503 gives 200 OK

2012-11-20 Thread Joerg Linge
@lists.sourceforge.net] Sent: Mon, 19 Nov 2012 18:07:52 +0100 Subject: Re: [Nagios-users] Check_http status 503 gives 200 OK Your example /usr/local/nagios/libexec/check_http -I ip address -u http://url -w1 -c2 is a proxy request! -I = ip address to connect to -H = HTTP/1.1 Host Header

Re: [Nagios-users] Check_http status 503 gives 200 OK

2012-11-20 Thread Travis Runyard
but not the 5xx error ;-) any ideas? Regards, Jaap From: Joerg Linge [mailto:pitchf...@ederdrom.de] To: Nagios Users List [mailto:nagios-users@lists.sourceforge.net] Sent: Mon, 19 Nov 2012 18:07:52 +0100 Subject: Re: [Nagios-users] Check_http status 503 gives 200 OK Your

Re: [Nagios-users] Check_http status 503 gives 200 OK

2012-11-19 Thread Jaap van Arragon
Hello, Does anyone know why it gives me a 200 back? If you need more info, I will gladly provide it ;-) Thank you. Regards, Jaap On 11/16/12 11:54 AM, Jaap van Arragon j.vanarra...@lukkien.com wrote: Hello, I¹m trying to use the check_http plugin to verify if one of our website is

Re: [Nagios-users] Check_http status 503 gives 200 OK

2012-11-19 Thread Ryan Edwards
You said u are using it like so: Check: /usr/local/nagios/libexec/check_http -I ip address -u http://url -w1 -c2 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

Re: [Nagios-users] Check_http status 503 gives 200 OK

2012-11-19 Thread Jaap van Arragon
Thank you for your reply. I¹ve tried the check without the ip adress option but it makes no difference. Any other ideas? Thanks. On 11/19/12 2:29 PM, Ryan Edwards wyi...@gmail.com wrote: You said u are using it like so:    Check:    /usr/local/nagios/libexec/check_http -I ip address -u

Re: [Nagios-users] Check_http status 503 gives 200 OK

2012-11-19 Thread Joerg Linge
Your example /usr/local/nagios/libexec/check_http -I ip address -u http://url -w1 -c2 is a proxy request! -I = ip address to connect to -H = HTTP/1.1 Host Header -u = relative url to fetch without protocol infos like http:// some examples check nagios.org OMD[gearman]:~/lib/nagios/plugins$

Re: [Nagios-users] Check_http status 503 gives 200 OK

2012-11-19 Thread Jaap van Arragon
-users] Check_http status 503 gives 200 OK Your example /usr/local/nagios/libexec/check_http -I ip address -u http://url -w1 -c2 is a proxy request! -I = ip address to connect to -H = HTTP/1.1 Host Header -u = relative url to fetch without protocol infos like http:// some

Re: [Nagios-users] Check_http status 503 gives 200 OK

2012-11-19 Thread Joerg Linge
[mailto:pitchf...@ederdrom.de] To: Nagios Users List [mailto:nagios-users@lists.sourceforge.net] Sent: Mon, 19 Nov 2012 18:07:52 +0100 Subject: Re: [Nagios-users] Check_http status 503 gives 200 OK Your example /usr/local/nagios/libexec/check_http -I ip address -u http://url -w1 -c2

Re: [Nagios-users] Check_http status 503 gives 200 OK

2012-11-19 Thread Jaap van Arragon
: Joerg Linge [mailto:pitchf...@ederdrom.de] To: Nagios Users List [mailto:nagios-users@lists.sourceforge.net] Sent: Mon, 19 Nov 2012 18:07:52 +0100 Subject: Re: [Nagios-users] Check_http status 503 gives 200 OK Your example /usr/local/nagios/libexec/check_http -I ip address -u http://url -w1