Thanks everyone, for future reference it worked like this for me ./check_http -H server.domain.com -u "/crltest/http?server=server-m3.domain.com&path=/CRL/&crl=ent.crl"
-----Original Message----- From: Giorgio Zarrelli [mailto:zarre...@linux.it] Sent: Tuesday, May 11, 2010 9:32 AM To: Nagios Users List Cc: <nagios-users@lists.sourceforge.net> Subject: Re: [Nagios-users] Odd long URL Try double quoting the URL. Ciao, Giorgio Il giorno 11/mag/2010, alle ore 18.13, <ward.p.fonte...@wellsfargo.com> ha scritto: > 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:lomiz.m...@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.fonte...@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@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@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@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@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