Forum Discussion
michael_trott_1
Nimbostratus
Jul 02, 2008indepth analysis of comms for health check
hi all,
am performing basic health monitoring on a pool, confirming a http 200 from the pool, problem that is now appearing is that while the front end of the app is up, eg 200 returned, the backend is actually down and unable to handle requests.
The servers being monitored in the pool now display a nice error page describing that the server's backend is down, and lists the particular funciton that is down, eg DB.. , but still supplies a 200.
How could i monitor these 200's for an actual failure, i'm assuming an iRule is the way to go, still maintaing the current healthcheck to confirm actaul webservers are up, then use an irule to check the returned pages for particular fields, if they find, somehow mark the server as down???
any ideas or can point me in the right direction?
thanks
- Simon_Wright_85
Nimbostratus
Hi - Deb_Allen_18Historic F5 AccountIt's worth mentioning as well that the response string should always be a phrase that would never be found in an error response.
- hoolio
Cirrostratus
If you want to logically OR a request, I think you can use a regex like (?:first_string|second_string). Else, if that doesn't work, you could use multiple monitors. This would be less efficient than a single monitor. The most functional and least efficient option would be to use an external monitor which greps through the response content and marks the pool member up if either string is found.
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