Forum Discussion
Terry_Pike
Nimbostratus
Feb 28, 2012HTTP healthcheck with simply a send string of GET
Been trawling ask F5 but cannot find the answer to a basic question, any advice is appreciated:
When using an HTTP healthcheck with simply a send string of GET / and with no receive string, what would the BigIP-LTM take to be a ‘good’ response from the app server?
I am guessing that it will look for some HTTP response, and would like to think that it has to be a ‘good’ code, e.g. 200, 302 to mark the node UP
I am hoping that if it gets a 4xx or 5xx HTTP return code that it marks the node DOWN
Just need this confirmed - does anyone know ?
2 Replies
- hoolio
Cirrostratus
Hi Terry,
with no receive string, what would the BigIP-LTM take to be a ‘good’ response from the app server
Any TCP data will be considered a success. This is why it's a bad idea to not use a receive string. It would be more ideal to look for a 2xx or 3xx response. To do that you could use a receive string of:
HTTP/1\.(0|1) (2|3)
Aaron - thanks for the trick, very usefull in my own case.
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