Forum Discussion
wellington_1134
Jan 27, 2011Nimbostratus
HTTP customer health check
I'm want to write a simple HTTP health check (I'm new to this!)
[root:F5-Active] config curl http://jupiter-uat.dresdnerkleinwort.net/jupiter/healthCheck.jsp
!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
head
title>Jupiter Health Check
/head
body
h1>Jupiter Health Check<
This page is used by the load balancer to determine whether this node is available for active service.
So far I 've setup the following:
Send String
GET /jupiter-uat.dresdnerkleinwort.net/jupiter/healthCheck.jsp\r\nConnection: Close\r\n\r\n
Receive String
head
Things are working and the server pool is green.
Q - what could I put in for the Disable Receive string?
and is 'head' with HTMLopen/close brackets sufficent for the Receive string
- Chris_MillerAltostratusAwesome start.
- wellington_1134NimbostratusThanks Chris, I'll take a look at the user request
- Chris_MillerAltostratusPosted By wellington on 01/27/2011 08:03 AM
- L4L7_53191NimbostratusI agree 100% Chris, thanks for bringing this up - it's absolutely a best practice in my opinion, and I wish more folks would use this technique. It more than makes up for the up front work you have to put into it. I realize it's not always an option but for environments where it is, it'll make things much more clear when trouble comes knocking.
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