Forum Discussion
Lucern
Oct 05, 2019Nimbostratus
Automatic Maintenance (Sorry) Page triggered via monitor
All, I see there are tons of different ways to automatically display a VIP maintenance page when all members of a pool are down. What I'm looking for is a way to automatically display a mainten...
Hi Lucern,
when HTTP_REQUEST {
if { [active_members pool_example] < X } {
log local0. "pool_example: At least one member offline"
HTTP::respond 503 content "MAINTENANCE"
}
}
X = number of members in pool_example
Lucern
Oct 06, 2019Nimbostratus
Oh wow! That doesn't seem too complicated! I will give that a shot! Thank you so much!
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