Re: [Nagios-users] check_http - user+password - string required

2006-02-23 Thread Tom Brown
The URL you're checking is returning a 302 REDIRECT. There is no HTML to look at. You'll probably want to add '--onredirect=follow' and either a -s, -R or -e string check based on your needs. ah ha! thanks - it was the --onredirect=follow that i was missing

[Nagios-users] check_http - user+password - string required

2006-02-21 Thread Tom Brown
Hi Trying to get check_http to check a site that requires authorization and also the check needs to expect a certain string back in the response. So far i have ./check_http -H www.foo.net -u /some/where/ -a user:pass OK - HTTP/1.1 302 Found - 0.087 second response time

Re: [Nagios-users] check_http - user+password - string required

2006-02-21 Thread Jim Perrin
On 2/21/06, Tom Brown [EMAIL PROTECTED] wrote: Hi Trying to get check_http to check a site that requires authorization and also the check needs to expect a certain string back in the response. So far i have ./check_http -H www.foo.net -u /some/where/ -a user:pass OK - HTTP/1.1 302 Found -