Forum Discussion

Jayson_Gugliett's avatar
Jayson_Gugliett
Icon for Nimbostratus rankNimbostratus
Apr 11, 2007

HTTP MONITOR GET COMMAND

Should this work:

 

 

HTTP MONITOR

 

 

Send String: GET / http://static.cbslocal.com/station/f5monitor/testfile.htm HTTP/1.0

 

Receive String: TEST FILE. (this is part of the text in the HTML file)

 

 

When I change the name of the file from testfile.htm to testfile2.htm the monitor fails and marks the servers out of server. When I rename the file back the monitor does not mark the servers back in service

 

 

BipIp Version: 9.1.2 Build 40.2

 

 

 

Thanks

1 Reply

  • That should indeed work. You might want to check the interval and timeout values for the monitor. Typically, the interval should be set to 5 seconds or greater and the timeout should be set to 3 times the interval plus one second (16 seconds if the interval is 5 seconds).

     

     

    Also, it might be better to use an HTTP 1.1 formatted request so you can instruct the server to close the connection.

     

     

    See SOL3224 on AskF5.com (Click here) for additional info.

     

     

    The configuration guide section on HTTP monitors should also provide more detail.

     

     

    Aaron