CSS healthcheck URI

Unanswered Question
Apr 24th, 2007

I need assistance with healthcheck page.

The URI is /HealthCheck but i need to check for String server OK and not the HTTP header.

Has any one set this up and is it possible?



I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Syed Iftekhar Ahmed Tue, 04/24/2007 - 09:22

The "ap-kal-httpcheck " script connects to a webserver on port 80 by default.It performs a GET on the specified page. If the WebString is returned (and is within first 10K response), the service stays up. If anything fails, the service is marked down.

The syntax for this KAL is:

ap-kal-httpcheck \'WebSiteIP WebPage WebString [Port]\'

for e.g.

service web1

ip add

keepalive frequency 10

Keepalive type script ap-kal-httpcheck ? /index.html teststring?


More details available at


Syed Iftekhar Ahmed

salmodov Tue, 04/24/2007 - 10:39

This is what I came up with would be the difference in our configs here? would this not do what i need it to do or is your option better?

service My_test

protocol tcp

keepalive type http

keepalive method get

ip address

port 8013

keepalive port 8013

keepalive uri "/HEALTHCHECK"




Syed Iftekhar Ahmed Tue, 04/24/2007 - 10:46

I thought you wanted to look for a particular string in the server response. The example I posted will connect to webserver and will look for a string in the response.

In you config CSS will send a GET request to server and calculate a HASH of the healthcheck page. If the content on the page changes then the newly calculated HASH will be different from original HASH and CSS will mark the service down.

If you use "keepalive method Head" then CSS will only look for 200 ok response server.

Syed Iftekhar Ahmed


This Discussion