Tadaoki_237078
Oct 03, 2017Nimbostratus
iRule(event) evaluation
Hi all,
I have some questions about iRule evaluations:
If an event is triggered but the traffic doesn't match any of the conditions, what will happen?
(e.g. what will the following iRule do if pool_fubar has more than 1 active member? And does it mean anything if the Virtual Server has a default pool configured or not?)
ltm rule /Common/rule_Fubar {
when HTTP_REQUEST {
if { [active_members pool_fubar] < 1 } {
HTTP::respond 200 content [ifile get sorry_file] "Content-Type" "text/html"
}
}
}
Thank you in advance,
Kai