Hey all,
Probably a quick one here. I’m trying to write an iRule that will return the status of a GTM pool when DNS_REQUEST event is triggered. This is what I have in the iRule editor which accepts it.
when DNS_REQUEST {
if { ([LB::status pool test_gtm_pool] eq "up") } {
log local0. "Pool Available!
}
}
However in the /var/log/gtm I receive this
TCL error: Rule /Common/irule_test - wrong args: should be "LB::status [pool member < | > ] or [vs < | > ] " while executing "LB::status pool test_gtm_pool"