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
1 Reply
Sort By
- Lee_Sutcliffe
Nacreous
iRules 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?
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