Changing SNAT IP based on client destination IP and resulting alarms
To do this we made a virtual server with the iRule attached and no members to the server. This works fine and sends to the right place from the server pool when it initiates connections.
However these LBs are being monitored and the f5 keeps sending traps saying the virtual server has no members up. there is no monitor on the VS and no pool to have a monitor on so not sure why it is doing this or how to get it to stop
To work around this I tried to just add my main app server pool to the rule and do a ping monitor to stop the SNP trap being sent. This stopped the trap but now the iRule doesn't work on outgoing traffic!
Any help or a better way to do this would be MUCH appreciated.