cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
1966
Views
5
Helpful
17
Replies

CSS 11503 keepalive scripts

tomesmyth
Level 1
Level 1

Is it possible to configure a keepalive script to detect the text returned from a cold fusion web page - eg "server available". Not the header but actual content of the page.

17 Replies 17

as shown in the script, you need to provide 3 arguments:

set HostName “${ARGS}[1]”

set WebPage “${ARGS}[2]”

set HostTag “${ARGS}[3]”

1 - ip address or hostname which will be used as destination to open the connection

2 - url ie: /index.html

3 - server hostname: ie www.cisco.com

You can pass the info to the script with the keepalive command.

CSS11503-2(config-service[linux1])# keepalive type script ap-kal-httptag ?

Script Arguments (Len: 0-128)

Or you can put the information inside the script iself.

Gilles.

OK Gilles, I understand the part of the 3 arguments, but based on my configuration and the parameters I'm using this will be ?

keepalive type script ap-kal-httptagban "192.168.249.3 /bancasa/start.swe?SWECmd=Logoff www2.bhd.com.do"

is this command ok ?

Do you see anything wrong with my script and the fact that this is an ssl back-end ?

Thanks

How and where on the script I will define these arguments if I were to configure it in the script itself ?

Pardon my ingnorance, I'm new to CSS and scripts.

Thank

Review Cisco Networking for a $25 gift card