Forum Discussion
AJ_6093
Nimbostratus
Jan 16, 2009HTTP monitor with Status code.
Hi,
I want to create a HTTP monitor based on http status return code. What should I mention in the HTTP receive string, if I use “HTTP/1.0 200 OK” will it work. Also should I implement it on pool or on nodes?
Thanks & Regards,
AJ
- JRahm
Admin
It really depends on your requirements. If using the http monitor, you can send a query to special page that will give you a "we're good" message that tests more than just the root index, or if that's sufficient, you can implement an http monitor that pretty much just tells you the app is responding, not that it's good. You can also do the negative, where it marks the node/pool member down if the string is received. - dennypayne
Employee
If you are monitoring the pool members I don't see much benefit in monitoring the nodes separately. If it's down in the pool its status as a node doesn't really make any difference, and you're just duplicating health checks and causing more load on the node if you do that. - hoolio
Cirrostratus
Assuming the pool member responds to the send string with an HTTP 200 status, using a receive string of "200 OK" should work fine:
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