Check_http returns an incorrect response code, check_http returns the following

[r...@pkinagios plugins]# HTTP WARNING: HTTP/1.1 404 Not Found - 1099 bytes in 
0.177 second response time |time=0.176506s;;;0.000000 size=1099B;;;0

While our BB server returns a 200 - which is correct.

Of course I could very well be using check_http incorrectly, I have tried both 
of the following and neither return the correct value

./check_http 
http://server.domain.com/crltest/http?server=server-m3.domain.com&path=/CRL/&crl=ent.crl
./check_http -H server.domain.com -u 
/crltest/http?server=server-m3.domain.com&path=/CRL/&crl=ent.crl

-----Original Message-----
From: Enrico Zimol [mailto:[email protected]] 
Sent: Tuesday, May 11, 2010 12:34 AM
To: Nagios Users List
Subject: Re: [Nagios-users] Odd long URL

On 11 May 2010 01:45,  <[email protected]> wrote:
> Hello,
> "How can I monitor the following URL with Nagios?"
> http://server.domain.com/crltest/http?server=server-m3.domain.com&path=/CRL/&crl=test.crl
>
What do you mean with "check"?
Check the result of your http request (202, 403 etc) or check the page
to find an expression?

-- 
Enrico Zimol

------------------------------------------------------------------------------

_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

------------------------------------------------------------------------------

_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to