Forum Discussion
Why does my health monitor fail?
Created and new http health monitor but as soon as I apply it all servers in the pool are marked down.
ltm monitor http enterprise_heartbeat_mon { defaults-from http destination : interval 5 ip-dscp 0 recv 200 send "GET /Enterprise/login.cmdx\r\n" time-until-up 0 timeout 16 }
From Fiddler:
Request Header GET /Enterprise/login.cmdx HTTP/1.1
Response Header HTTP/1.1 200 OK
Seems pretty simple but I must be missing something. Please advise....
HTTP/1.1 requires a Host header and your send string does not include one. Try:
send "GET /Enterprise/login.cmdx\r\nHost: host.example.com\r\n\r\n"
- Josiah_39459Historic F5 Account
HTTP/1.1 requires a Host header and your send string does not include one. Try:
send "GET /Enterprise/login.cmdx\r\nHost: host.example.com\r\n\r\n"
- Chris_Olson_172AltostratusThank you very much for your insight. It is still failing though. Forgive my ignorance but what is the best way to test the strings from the F5? ltm monitor http enterprise_heartbeat_mon { defaults-from http destination *:* interval 5 ip-dscp 0 recv 200 send "GET /Enterprise/login.cmdx\r\nHost: nextrelease.sample.com\r\n\r\n" time-until-up 0 timeout 16 }
- Josiah_39459Historic F5 Accounttcpdump and curl are the best ways to test
- Chris_Olson_172AltostratusThank you for your assistance. The other issue was the receive string. I was advised I could use header information, thus the "200" recv string. That is incorrect. You have to use something (text, not pictured words) that is actually displayed on page. Once I did that, it worked.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com