Forum Discussion
Jayson_Gugliett
Nimbostratus
Apr 11, 2007HTTP 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
- hoolio
Cirrostratus
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
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects
