Forum Discussion
David_Bradley_2
Nimbostratus
Mar 27, 2007How do I create a passive health monitor?
Can someone point me to documentation (or an example) on writing a passive health monitor into my iRule? Thanks in advance.
Dave
Deb_Allen_18
Apr 08, 2007Historic F5 Account
Hi Dave -
LB::reselect was introduced in one of the 9.2 releases. I know it is available in 9.2.3 or better. LB::reselect can be used in LB_FAILED, which is only triggered if the selected pool member doesn't respond. It cannot be used in *_RESPONSE events if the server does respond.
If the server does respond and the response indicates a new node should be selected, for HTTP traffic I believe you could use LB::detach and HTTP::retry in HTTP_RESPONSE event to send the request to a different pool member. I don't think there is an equivalent command for replaying a TCP request.
Passive monitoring in 9.4 is specific to HTTP response codes.
HTH
/deb
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