Forum Discussion

jay_41157's avatar
jay_41157
Icon for Nimbostratus rankNimbostratus
Oct 07, 2008

parameter in get string for healthmonitor

Hi,

 

 

I had to use the Host:bigip2test.f5.com in the get string for the health monitor, I am not too sure on the reason for this......

 

 

GET /heartbeat?id=stat HTTP/1.1\r\nHost: bigip2test.f5.com\r\n\r\n

 

 

 

Thanks.

1 Reply

  • You've set the Host header to bigip2test.f5.com. I assume you did this because the application requires a Host header for HTTP 1.1 requests. You could probably leave it blank as the application seems to accept any value. You could also add a Connection: close header to tell the server to close the TCP connection after answering the request:

     

     

    GET /heartbeat?id=stat HTTP/1.1\r\nHost: \r\nConnection: close\r\n

     

     

    Note that bigd appends a \r\n to the end of the send string, so you only need to add one.

     

     

    Aaron