Forum Discussion
Syslog-V_277002
Nimbostratus
Nov 08, 2017Event on MEMBER down
Hi all,
I need to run an iRule when a member (NOT the pool / LB_FAILED) of the pool changes its state.
Which is the correct event to track?
Thanks
Lee_Sutcliffe
Nacreous
Nov 08, 2017iRules don't execute on pool members going down, they are event driven based on traffic traversing the device. However you can check the status of the pool in CLIENT_ACCEPTED (TCP handshake would need to be completed before the pool members are checked) such as using
active_members
to see see if the number of active members has changed or below a threshold.
when CLIENT_ACCEPTED {
if { [active_members http_pool] >= 2 } {
pool http_pool
}
}
Are you able to elaborate anymore on your requirement?
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