Forum Discussion
lkchen
Nimbostratus
May 05, 2010Down a pool if a monitor fails?
While it makes no sense to me....I've been asked to implement a monitor for a pool of webservers, that does a 'GET /monitor/status.html' and if the response does not contain the string "SUMMARY: OK", to disable the entire pool.
The pools are for our main production web site, and the normal fallback URL in our http profile is to a (different) status page on the main site.
The purpose is so that the admins can take the site down for maintenance without bothering me the F5 admin. Even though they've formed a committee to blame the F5 for a recent outage caused by all members in the pool being down.
Lawrence
3 Replies
- Michael_Yates
Nimbostratus
Wow....That's awesome.when HTTP_REQUEST { Check if the default pool has less than one active member if { [active_members [LB::server pool]] < 1 } { HTTP::redirect "http://www.google.com" pool alternate.pool.of.servers } }
- lkchen
Nimbostratus
Well, that was surprising....I went with "no, it can't be done" and they accepted that response. - Michael_Yates
Nimbostratus
I feel for ya. Perhaps the answer is getting lost in translation.
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