Re: [Nagios-users] Odd long URL
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: Subject: Re: [Nagios-users] Odd long URL Try double quoting the URL. Ciao, Giorgio Il giorno 11/mag/2010, alle ore 18.13, 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.00 > 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, 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
Re: [Nagios-users] Odd long URL
Try double quoting the URL. Ciao, Giorgio Il giorno 11/mag/2010, alle ore 18.13, 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.00 > 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, 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
Re: [Nagios-users] Odd long URL
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.fonte...@wellsfargo.com [mailto:ward.p.fonte...@wellsfargo.com] Sent: Tuesday, May 11, 2010 12:14 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Odd long URL 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.00 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, 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
Re: [Nagios-users] Odd long URL
On Tue, May 11, 2010 at 12:13, wrote: > 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.00 > 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 > > Can you confirm you used quotes or shell-escapes to get around the bare "&" ? -- all...@chickenandporn.com "金鱼" http://linkedin.com/in/goldfish please, no proprietary attachments (http://tinyurl.com/cbgq) -- ___ 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
Re: [Nagios-users] Odd long URL
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.00 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, 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
Re: [Nagios-users] Odd long URL
On 11 May 2010 01:45, 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
Re: [Nagios-users] Odd long URL
Does 'check_http' not work for you? From: ward.p.fonte...@wellsfargo.com [mailto:ward.p.fonte...@wellsfargo.com] Sent: Tuesday, 11 May 2010 09:45 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Odd long URL Hello, After scratching my head until my head fell I have come to ask this question "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 Paul Fontenot Enterprise Key Management & Public Key Infrastructure Team Cryptographic Services|IST|TGS|TOG|Wells Fargo Voice 480.437.7795 This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. -- ___ 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