Ken_B_50116
Jul 07, 2014Cirrostratus
Reverse health monitor not working
I have this health monitor that works OK, but does not work when I 'reverse' it:
ltm monitor tcp TCP_port_1021 {
defaults-from tcp
description "Look for a string on port 1021"
destination *:1021
interval 5
recv "Exclude from load balancing"
time-until-up 0
timeout 16
}
It works fine as written: If the server responds with "Exclude from load balancing" on port 1021, the monitor is green. If the monitor can't connect to port 1021, then the monitor goes red.
The problem is that if I set "Reverse" to "yes" in the health monitor, then the health monitor is always red, regardless of the server's response on port 1021. It should go green when there is no response on 1021, and red when there is a response on port 1021.
Why does the monitor not switch behavior when reverse is enabled? Is then some other way to accomplish having a monitor go red when the server responds on 1021?