Forum Discussion

trx's avatar
Jan 10, 2011

Can we specify a host header in a healthy monitor?

Hello All,

In a nutshell, this is what I"m trying to accomplish:

 

 

 

1) Monitor a homage of a site.

 

2) There are 3 IIS virtual websites on the proxy server.

 

3) The f5 healthy monitor will show the site as down because IIS does NOT know which site the request is for.

 

 

 

So, the question is, is there a way to specify the host header so that IIS will know which site should respond to the incoming healthy

 

monitor request?

 

 

 

Any direction is fully appreciated.

 

 

 

Thanks.

 

 

 

Regards,

 

TRX

 

7 Replies

  • Host:www.sample.com

    Here's an example monitor from 10.2:

    
    GET /index.html HTTP/1.1\r\nHost:www.sample.com.com  \r\nConnection: Close\r\n\r\n
    
  • Hello,

    Would/should this suffice?

     

     

     

    Host:www.ddd.com GET / xyz

     

     

     

    It seems to not work yet. Am I missing anything?

     

     

     

    Please let me know.

     

     

     

    Regards,

     

    TRX

     

  • Posted By trx on 01/10/2011 10:11 AM

     

    Hello,

    Would/should this suffice?

     

     

     

    Host:www.ddd.com GET / xyz

     

     

     

    It seems to not work yet. Am I missing anything?

     

     

     

    Please let me know.

     

     

     

    Regards,

     

    TRX

     

     

    I'd recommend closing the HTTP connection. Did you try my example simply replacing my host header with yours and my "/index.html" with your GET?
  • Hello,

    It does NOT like the "/n" characthers in the get request.

    ex)

    GET /index.html HTTP/1.1\r\nHost:www.sample.com.com  \r\nConnection: Close\r\n\r\n
    Is it needed?
    Thanks.
    Regards,
    TRX

  • When you say "it," are you referring to the server or the F5 LTM? If F5, what version are you running?