Forum Discussion
uni
Altostratus
Nov 03, 2006Different actions for different monitors, one pool
I have been asked if I can perform different actions depending on the result of different monitors. Specifically, if an ICMP monitor fails, reject the request, but if ICMP passes but an HTTP monitor fails, issue an HTTP::respond.
My first thought was to have a pool with the HTTP monitor, and a LB_FAILED event which LB::reselects an equivalent pool with the ICMP monitor, which either rejects or HTTP::responds. It might work, but it seems complicated.
Does anyone have a better suggestion? I have a suspicion I'm asking a dumb question, but my excuse is it's Friday afternoon.
- Colin_Walker_12Historic F5 AccountThere isn't currently a way to have an iRule directly interact with a pool monitor. Your proposed solution sounds like it might be worth investigating, though.
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