We wanted to check both 200 OK and the content word “test” on the site and below is our current config. The problem is we’re getting two separate logs to the two health-checks and we were wondering if there is a way for us to combine these two health checks.
Wouldn’t the fact that you can match the content word “test” from the site validate the fact that there is a 200 OK as well? Still learning about F5, so forgive me if there’s something I’m missing.
Wouldn’t the fact that you can match the content word “test” from the site validate the fact that there is a 200 OK as well? Still learning about F5, so forgive me if there’s something I’m missing.
Thanks for the response and I am learning this myself as well so not an expert at all. For your second point about the regex, can you post how the exact health-check would look like with that? Is this something you’ve already deployed before?
Hello John, I’ve not deployed a health monitor utilizing a regex recv string. I used a combination of resources referenced below to create and check the regex I suggested. To implement I believe you would just replace the value in recv. It should be easy to check working status by creating a test pool and applying the health monitor. recv “200\sOK(.|\s)*test” 404 Page not found | BIG-IP Documentationhttps://regex101.com/