Forum Discussion
HTTP Monitor Host Header
In building a monitor for pool members, I did a simple HTTP monitor that does a GET on /. Testing this with curl worked nicely and I chose a reponse matching string that should work well. However, the pool members were marked down, even though I was running the curl request at the same time.
More detailed testing showed that this server has some quirks, but the one that seems to apply in this case is that the Host header is required, or the server will not respond. Examining the bytestream I see that an HTTP monitor does not fill out the Host header, as required by RFC. I can not fill this out in the monitor definition, as the value is different for each pool member.
Am I missing something here?
1 Reply
- nitass
Employee
does blank host header (Host:) not work?
sol2167: Constructing HTTP requests for use with the HTTP or HTTPS application health monitor
http://support.f5.com/kb/en-us/solutions/public/2000/100/sol2167.html
if the blank does not work, you may try external one.
HTTP Monitor cURL GET With Host Specific Headers
https://devcentral.f5.com/wiki/advdesignconfig.httpmonitor_curl_getwithhostspecificheaders.ashx
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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