Re: check_http
Karl DeBisschop <[email protected]>
| Newsgroups | gmane.network.netsaint.user |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 2002-08-29 at 15:58, Shawn Jones wrote: > Thanks for the response I recieved about my last question with reading a > url using check_http. I still am running into a problem that I can't seem > to figure out. I have verified on a test setup that my check works, but > when I run against the site I want to monitor, I get the following message. > > HTTP ok: HTTP/1.1 302 Moved Temporarily - 0 second response time > > Here is the command I am trying to run. > > check_http <ip> -p 8080 -u <url> -r <string> > > The problem is the command does not read for the string at all. Doesn't > matter if I put a good or bogus string in I get the same response. I tried > just running check_http with the ip and port option and I got the same > response. So it seems like the problem is with the initial connection to > the server. I've got a feeling this is being generated by some kind of > redirect. Please let me know if anyone knows what this is and what I might > be able to do to resolve the issue. I think you need to explicitlt tell the plugin to follow the redirect. Then it should scan the returned page, Right now it only scans the header of the redirect. -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf