Forum Discussion
Annsar_Akhtar
Nimbostratus
Jun 10, 2016Irule trigger applying to all pool members and just want it to apply to pool member with session_disabled
Hi All
I wonder if someone could assist me with an irule that I have put together.
The irule triggers but applies the HTTP:close to all pool members and I just want to send the trigger to ...
Vijay_E
Cirrus
Jun 10, 2016Have you tried this: https://devcentral.f5.com/questions/pool-member-status-page-on-a-virtual-server-v11-30188
Also, this iRule may provide a framework to achieve something similar but not the exact requirements that you need - something to try out:
when HTTP_RESPONSE {
if { [LB::status pool [LB::server pool] member [LB::server addr] [LB::server port]] eq "session_disabled" } {
HTTP::close
log local0. "HTTP::close"
}
}
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