Odd long URL

Parish, Brent bparish at cognex.com
Tue May 11 18:24:27 CEST 2010


Could it be from the metacharacters on the command line?
What do you get if you enclose the entire URL in single quotes?



-----Original Message-----
From: Ward.P.Fontenot at wellsfargo.com
[mailto:Ward.P.Fontenot at wellsfargo.com] 
Sent: Tuesday, May 11, 2010 12:14 PM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Odd long URL

Check_http returns an incorrect response code, check_http returns the
following

[root at 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:lomiz.mail at gmail.com] 
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,  <Ward.P.Fontenot at wellsfargo.com> 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
Nagios-users at lists.sourceforge.net
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
Nagios-users at lists.sourceforge.net
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
Nagios-users at lists.sourceforge.net
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





More information about the Users mailing list