Forum Discussion
HTTP Health Check Question
Right now to get individual node control like this the developer has put in a seperate page for ever node (once a page is added it is replicated automatically), and I have setup Monitor-to-Pool Member association.
What I would prefer to do would be use a receive string with a regex so that I could do a Monitor-to-Pool association. I would look for something like Up.
Is this possibly?
4 Replies
- hoolio
Cirrostratus
You could potentially configure a monitor with the request being made to a status page. The receive string would check for one particular node IP and its status. The downside is that you'd need to configure one monitor per pool member and assign a member-specific monitor to every pool member individually. I'm guessing it would be easier to use your existing method.
The monitor configuration would look something like this:monitor http_alias_monitor { defaults from http dest 1.1.1.1:http recv "10.0.0.1 UP" send "GET /status_page.php" }
The dest is the IP:port for the server which hosts the status page. The send field is the request LTM would send. The recv field is what LTM would expect to get back in the response for that request. 10.0.0.10 would be the IP address listed in the page content of the status page.
Aaron - egarrison_17852
Nimbostratus
I keep running across this post as we host a number of Kentico sites, and I am constantly Google'ing terms.
I like to do my healthcheck by putting a meta tag of "heathcheck" into the master page(stored in the DB). Reason why, the kentico cms will only render that tag if the CMS is functioning. Hope this helps someone else. Another tip for anyone with Kentico. If you don't license webfarm, you can only have this running on 1 server. The app goes bonkers because of it's cache layer.
- Amit_Karnik_269
Nimbostratus
I am not familiar with Kentico, but I guess the server can be aware on which IP:port it received the healtcheck request and then include it in the response string which the monitor checks as you suggested .. " Up"
Typically I hate to do it since it launches too many processes frequently but this could be a scenario in which external monitor might be suitable.
Best !!
- Amit_Karnik_269
Nimbostratus
I am not familiar with Kentico, but I guess the server can be aware on which IP:port it received the healtcheck request and then include it in the response string which the monitor checks as you suggested .. " Up"
Typically I hate to do it since it launches too many processes frequently but this could be a scenario in which external monitor might be suitable.
Best !!
Recent Discussions
Related Content
* 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
