Forum Discussion
Chris_101737
Nimbostratus
Jun 17, 2010Unable to monitor webserver with Siteminder,
Hi,
We tried to create http_monitor to monitor webservers with siteminder, we keep getting error 500 from the servers. I am not sure if there is something missing from your script.
Thanks
GET /unavailable_up.html HTTP/1.1\r\nHost: \r\nConnection: close\r\n
tried from ssh:
GET /unavailable_up.html
500 Internal Server Error
Internal Server Error
The server encountered an internal error or
misconfiguration and was unable to complete
your request.
Please contact the server administrator,
[no address given] and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.
More information about this error may be available
in the server error log.
Connection closed by foreign host.
3 Replies
- hoolio
Cirrostratus
Which LTM version are you running? If you're on 9.3 - 10.1.0, can you try removing the trailing \r\n's:
GET /unavailable_up.html HTTP/1.1\r\nHost: \r\nConnection: close
And if that doesn't work, it's possible that the pool members require a valid host header value. If that's the case, can you hardcode the Host header value (replacing www.example.com with the actual Host the servers require):
GET /unavailable_up.html HTTP/1.1\r\nHost: www.example.com\r\nConnection: close
Aaron - Chris_101737
Nimbostratus
Still did not work
HTTP/1.1 400 Bad Request Date: Fri, 18 Jun 2010 20:23:13 GMT Server: Apache Content-Length: 226 Connection: close Content-Type: text/html; charset=iso-8859-1 400 Bad Request Bad Request Your browser sent a request that this server could not understand.
I am using 9.4.4.
Thanks - hoolio
Cirrostratus
Hi Chris,
Did you set a valid Host header value in the monitor send string? Can you post the headers from a valid browser request to the site? You can use a browser plugin like HttpFox for Firefox or Fiddler for IE to capture the headers.
Thanks, Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects