Adding more keepalives

Unanswered Question
Jun 23rd, 2008

Hi,

I've have several services defined like so:

service sclivelink002:81

ip address 10.5.55.132

port 81

keepalive frequency 2

keepalive retryperiod 2

keepalive port 2199

keepalive type tcp

protocol tcp

add ssl-proxy-list SSL1

active

My question is how can I add addition keepalive ports to this service. I want to monitor it via pings to port 80 as well. I've looked at the 'ap-kal-pinglist' scripts, but just not sure how to modify it for additional ports. What about defining a critical service, can I do that ?

I'm looking for something like:

keepalive port 80, 81, 2199

Any info. would be great.

Thx,

Manjit.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
mduhra Mon, 06/23/2008 - 09:05

Gilles,

The numbers in quotes, do I change them for my specific ports.

For ex)

set OUT-OF-SOCKETS "785"

set NO-CONNECT "774"

if ${ARGS}[#] "LT" "2"

socket connect host ${SERVICE} port ${TCP-PORT} tcp 2000

Also, how do I apply the script once created.

Cheers!!

Gilles Dufour Mon, 06/23/2008 - 10:43

don't change anything.

Copy the script in a file and copy it to your CSS via ftp into the script directory.

You then call the script from the service and provide the parameters IP PORT1 PORT2 ....

Gilles.

Actions

This Discussion