Hi. I currently have a configuration where a device upstream from my BIG-IP 6400 is doing health checks against the BIG-IP. I also want the health checks to fail if my virtual server is showing down. However, my experience with the monitors show that even if the virt is down the BIG-IP will still respond to the health check on that virt unless the BIG-IP itself is down. Therefore, I’m attempting to write an iRule to redirect the upstream health check in order to somehow cause a failure. I am wondering if anyone else has run into this problem or if any templates exist that could assist me in this effort.
Enabling “Action on Service Down” to “Reject” for the pool (in Pool/Properties / Configuration: Advanced) will cause LTM to send a RST in response to requests if all servers in the pool are DOWN.
I think that may accomplish your goal without a rule…