Forum Discussion
uni
Altocumulus
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.
1 Reply
- 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.
If you have the monitors desired set up on different pools, and then get the logic right in the iRules to pass traffic from one pool to another based on the pool status...you might be able to achieve what you're looking for without too much trouble.
Colin
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
