Forum Discussion
http health monitor shows website is available when it isn't
Hello,
We are using a http health monitor to check our websites. However it incorrectly shows the website as available when it is down. Below is config for our health monitor. I'm trying to get what is coming back from our service provider but am not having much luck. I can see from google that we are getting a HTTP/1.1 500 Internal Server Error. If we use http 0.9, the health check always fails. Is there something wrong with my configuration or can you other any suggestions? Thank you in advance!
Type ------------- HTTP
Parent Monitor -- http
Interval ------------- Specify 5 seconds
Up Interval --------- Disabled
Time Until Up ------ 0 seconds
Timeout ------------ Specify 16 seconds
Manual Resume --- No
Send String ------- GET /docs \r\nHTTP/1.1\r\n Connection: Close\r\n
Receive String ----
Receive Disable String --
User Name --
Password --
Reverse ----------- No
Transparent ------ No
Alias Address ---- * All Addresses
Alias Service Port* All Ports
1 Reply
- nathe
Cirrocumulus
David. I see you've got no Receive String. Therefore, the monitor will successfully mark a pool member up if it receives any content, or headers back. So try adding a receive string. Can be as simple as "200 OK" (without the quotes").
If you run curl from bigip cmd line or fiddler/http fox from a browser you should see the received content when successful and this can help build a robust receive string.
Hope this helps.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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