cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
556
Views
5
Helpful
3
Replies

Adding more keepalives

mduhra
Level 1
Level 1

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.

3 Replies 3

Gilles Dufour
Cisco Employee
Cisco Employee

Use the script descrived here

http://www.cisco.com/en/US/products/hw/contnetw/ps792/products_tech_note09186a00801e1e14.shtml

You will then be able to monitor multiple tcp ports.

Gilles.

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!!

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.

Review Cisco Networking for a $25 gift card