Monitor HTTP Page for Text
Hello All,
I'm trying to setup a custom health monitor that monitors a page for specific text. I've read through the forums and the SOLs but haven't found a resolution to my particular situation. When I access one of the servers I'd like to monitor via the following, http://hostname.domain.com/dana-na/healthcheck/healthcheck.cgi it shows:
When I try to setup a TCP health monitor on port 80 with the following GET statement
GET /dana-na/healthcheck/healthcheck.cgi HTTP/1.1\r\nHost: 10.10.10.10\r\nConnection: Close\r\n\r\n
I always get a 200 OK response instead of the "Security gateway is accessible" like you would get when manually accessing the server. I also attempted a curl query from the LTM and it appears I do get "Security gateway is accessible" in the response:
< HTTP/1.1 200 OK < Content-Type: text/html; charset=utf-8 < Pragma: no-cache < Cache-Control: no-store < Expires: -1 Connection 0 to host 10.10.10.10 left intact * Closing connection 0 xml version="1.0" encoding="utf-8">Cluster HealthCheck
Security gateway is accessibleSecurity gateway is accessible
Is there something I'm missing in the GET statement on the health monitor?
Thanks,
Brian