Forum Discussion

Mike_Ayers_1148's avatar
Mike_Ayers_1148
Icon for Nimbostratus rankNimbostratus
Jan 15, 2013

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

  • 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