Forum Discussion
Chris_Olson_172
Feb 23, 2016Altostratus
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 :
in...
- Feb 23, 2016
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_39459
Feb 23, 2016Historic 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_172Feb 23, 2016AltostratusThank 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_39459Feb 23, 2016Historic F5 Accounttcpdump and curl are the best ways to test
- Chris_Olson_172Feb 24, 2016AltostratusThank 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.
- arpydaysFeb 24, 2016NimbostratusYou can use the status line, the response headers, and the HTTP payload to match against.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects