Forum Discussion
rschwarz79
Cirrus
Jan 06, 2026iRule Pool member(s) offline or disabled
Hello community, is there any way to check if the pool members offline/down (e.q. network or server error) or disabled (by a monitor during a maintenance) using a iRule? The background would ...
- Jan 07, 2026
Have not tested but might work with something like this
of course adjust names, members and messages
when HTTP_REQUEST { if { [LB::status pool my_pool member 10.1.1.1 80] eq "down" && [LB::status pool my_pool member 10.1.1.2 80] eq "down" }{ HTTP::respond 200 content { <html> <head> <title>Error Page</title> </head> <body> whatever you want to say plus links </body> </html> } } elseif { [LB::status pool my_pool member 10.1.1.1 80] eq "session_disabled" && [LB::status pool my_pool member 10.1.1.2 80] eq "session_disabled" }{ HTTP::respond 200 content { <html> <head> <title>Maintenance Page</title> </head> <body> whatever you want to say </body> </html> } } else { pool my_pool } }
rschwarz79
Cirrus
Jan 29, 2026Thank you. Working fine for me :-)
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