eric_haupt1
Sep 26, 2017Nimbostratus
Data group: integers not working
I'm trying to configure GTM to avoid certain ports serverside due to some HBSS agent issues. I'm using a data group of integers to hold the list of ports I want GTM to avoid using a reselect action. I am not getting the behaviour I want and it doesn't appear that the logic is matching at all. Now I know the ports I want to avoid are being used because I'm logging on these ports in the SERVER_CONNECTED action.
Here is the code I'm using for port avoidance - any ideas?
when LB_SELECTED {
if { [class match [UDP::local_port] equals hbss-port-exception] } {
log local0. "HBSS EXCEPTION LOG: [UDP::local_port] - GTM reselecting"
LB::reselect }
}