<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CSS 11503 keepalive scripts in Application Networking</title>
    <link>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443646#M8152</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gilles,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.  I tried that and no go.  My example:                                                                                                                            &lt;/P&gt;&lt;P&gt;! Wait for a good status code                                                                                                       &lt;/P&gt;&lt;P&gt;set EXIT_MSG "Waitfor: Failed"                                                                                                      &lt;/P&gt;&lt;P&gt;socket waitfor ${SOCKET} "Webhosting: This CF server Okay!" 2000             &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is verified to exist in the cfwhprobe.cfm file but it does not find the string and fails on line 37 in the script. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can assist it is appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Oct 2006 12:33:30 GMT</pubDate>
    <dc:creator>davemenard</dc:creator>
    <dc:date>2006-10-17T12:33:30Z</dc:date>
    <item>
      <title>CSS 11503 keepalive scripts</title>
      <link>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443641#M8147</link>
      <description>&lt;P&gt;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.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2005 13:42:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443641#M8147</guid>
      <dc:creator>tomesmyth</dc:creator>
      <dc:date>2005-09-27T13:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: CSS 11503 keepalive scripts</title>
      <link>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443642#M8148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is possible.&lt;/P&gt;&lt;P&gt;do a 'sho scrip ap-kal-httptag' and copy paste it into a file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then replace the line &lt;/P&gt;&lt;P&gt;--&amp;gt; socket waitfor ${SOCKET} "200 OK" 2000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With a socket waitfor ... "&lt;YOUR text="" here=""&gt;" 2000&lt;/YOUR&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save the file and upload it via ftp to the css using a new name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gilles.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2005 06:06:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443642#M8148</guid>
      <dc:creator>Gilles Dufour</dc:creator>
      <dc:date>2005-09-28T06:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: CSS 11503 keepalive scripts</title>
      <link>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443643#M8149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Gilles - I'll be trying that shortly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2005 06:28:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443643#M8149</guid>
      <dc:creator>tomesmyth</dc:creator>
      <dc:date>2005-09-29T06:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: CSS 11503 keepalive scripts</title>
      <link>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443644#M8150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Giles,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I realize this is a year old.  I did not try this recommendation yet, but used the following example from Cisco and this did not work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;===========&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CS50#configure &lt;/P&gt;&lt;P&gt;CS50(config)# service Webserver-one&lt;/P&gt;&lt;P&gt;Create service &amp;lt;&amp;lt; Webserver-one &amp;gt;, [y/n]:y&lt;/P&gt;&lt;P&gt;CS50(config-service[Webserver-one])# ip address 192.168.70.2  &lt;/P&gt;&lt;P&gt;CS50(config-service[Webserver-one])# keepalive method head &lt;/P&gt;&lt;P&gt;CS50(config-service[Webserver-one])# keepalive port 80  &lt;/P&gt;&lt;P&gt;CS50(config-service[Webserver-one])# keepalive type http &lt;/P&gt;&lt;P&gt;CS50(config-service[Webserver-one])# keepalive  uri "/btauxdir/cfprobe.cfm&lt;/P&gt;&lt;P&gt;=================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I then found this as well:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-custom" href="http://www.cisco.com/en/US/customer/products/hw/contnetw/ps792/products_tech_note09186a00801e1dfb.shtml" target="_blank"&gt;http://www.cisco.com/en/US/customer/products/hw/contnetw/ps792/products_tech_note09186a00801e1dfb.shtml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc ID: 47383&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the first solution in this e-mail failed, so should I pursue the second example here or the one you suggested to the original poster?  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running Cold Fusion 5.0 on Windows 2000 with IIS 5.0  (I wish they had some training on scripting, etc for the CSS)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2006 00:25:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443644#M8150</guid>
      <dc:creator>davemenard</dc:creator>
      <dc:date>2006-10-16T00:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: CSS 11503 keepalive scripts</title>
      <link>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443645#M8151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the example you showed is just a normal HTTP HEAD keepalive.&lt;/P&gt;&lt;P&gt;So, the CSS sends a HEAD request [not a GET, not a POST] and expect the response HTTP 200 OK.&lt;/P&gt;&lt;P&gt;It's far from what you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only way to check if a text is contained in the response of the server is to use a script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think too much scripting knowledge is required here.  All you have to do is follow my instruction.  You just have to change one line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gilles.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2006 06:47:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443645#M8151</guid>
      <dc:creator>Gilles Dufour</dc:creator>
      <dc:date>2006-10-16T06:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: CSS 11503 keepalive scripts</title>
      <link>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443646#M8152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gilles,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.  I tried that and no go.  My example:                                                                                                                            &lt;/P&gt;&lt;P&gt;! Wait for a good status code                                                                                                       &lt;/P&gt;&lt;P&gt;set EXIT_MSG "Waitfor: Failed"                                                                                                      &lt;/P&gt;&lt;P&gt;socket waitfor ${SOCKET} "Webhosting: This CF server Okay!" 2000             &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is verified to exist in the cfwhprobe.cfm file but it does not find the string and fails on line 37 in the script. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can assist it is appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 12:33:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443646#M8152</guid>
      <dc:creator>davemenard</dc:creator>
      <dc:date>2006-10-17T12:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: CSS 11503 keepalive scripts</title>
      <link>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443647#M8153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;capture a trace on the server and attach it to the forum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gilles.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 13:26:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443647#M8153</guid>
      <dc:creator>Gilles Dufour</dc:creator>
      <dc:date>2006-10-17T13:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: CSS 11503 keepalive scripts</title>
      <link>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443648#M8154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.  I am getting a 400 error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The parameters are: "192.168.0.28 /whutil/cfwhprobe.cfm dev.login.course.com" and they are getting forward to the get statement.  In the HTTP capture I am getting the Host field as the file name.  I will look at this for another 5 minutes and send the capture.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 15:18:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443648#M8154</guid>
      <dc:creator>davemenard</dc:creator>
      <dc:date>2006-10-17T15:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: CSS 11503 keepalive scripts</title>
      <link>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443649#M8155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the 8K Ethereal Capture.  Many Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 15:28:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443649#M8155</guid>
      <dc:creator>davemenard</dc:creator>
      <dc:date>2006-10-17T15:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: CSS 11503 keepalive scripts</title>
      <link>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443650#M8156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the request sent is incorrect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The parameters are below&lt;/P&gt;&lt;P&gt;set HostName "${ARGS}[1]"  ===&amp;gt; ip address&lt;/P&gt;&lt;P&gt;set WebPage "${ARGS}[2]"   ===&amp;gt; url&lt;/P&gt;&lt;P&gt;set HostTag "${ARGS}[3]"   ===&amp;gt; hostname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the ip address you provided is correct.&lt;/P&gt;&lt;P&gt;But the url is currently /login/whutil/&lt;/P&gt;&lt;P&gt;and the hostname is cfwhprobe.cfm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So looks like you have a space between /login/whutil and cfwhprobe.cfm.&lt;/P&gt;&lt;P&gt;Remove the space and try again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gilles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 05:34:08 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443650#M8156</guid>
      <dc:creator>Gilles Dufour</dc:creator>
      <dc:date>2006-10-18T05:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: CSS 11503 keepalive scripts</title>
      <link>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443651#M8157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gilles,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.  I had the imput inverted.  Thought it was much more.  Thanks for the effort and help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 11:24:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443651#M8157</guid>
      <dc:creator>davemenard</dc:creator>
      <dc:date>2006-10-18T11:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: CSS 11503 keepalive scripts</title>
      <link>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443652#M8158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Spoke too fast.  The captures on the server show progress, but the ap-kal-httptagcf script generates a script error on line 37.  The inputs are correct: "IP /login/whutil/cfprobe.cfm dev.login.course.com" and I get a 200 and continuation on the web server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 11:45:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443652#M8158</guid>
      <dc:creator>davemenard</dc:creator>
      <dc:date>2006-10-18T11:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: CSS 11503 keepalive scripts</title>
      <link>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443653#M8159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Webhosting:  This CF server Okay!&lt;/P&gt;&lt;P&gt;Webhosting: This CF server Okay!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 1st line is what the server response contains.&lt;/P&gt;&lt;P&gt;The 2nd line is what the script expect.&lt;/P&gt;&lt;P&gt;As you can see, there is a difference.&lt;/P&gt;&lt;P&gt;[on the web we do not see the difference - I just noticed - but in text you can see there is 2 spaces between ':' and 'T' in the server string and only 1 space in the script].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested your script with a server returning the same line as what is in the script and it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gilles.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 12:25:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443653#M8159</guid>
      <dc:creator>Gilles Dufour</dc:creator>
      <dc:date>2006-10-18T12:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: CSS 11503 keepalive scripts</title>
      <link>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443654#M8160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you are correct.  I cut and pasted from the generated web page, but in the code there is that space.  Strange.  I first thought it was the offset from AO, but it was just that space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That was it.  Thanks so much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 13:40:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443654#M8160</guid>
      <dc:creator>davemenard</dc:creator>
      <dc:date>2006-10-18T13:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: CSS 11503 keepalive scripts</title>
      <link>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443655#M8161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gilles:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know this is a two years old, but need some help with the issue regarding this post. I need to have a script keepalive to verify the content of a page. I tried what you mentioned here, but my service won't come up. My set up is this:&lt;/P&gt;&lt;P&gt;SERVICE&lt;/P&gt;&lt;P&gt;service serbancasawebback&lt;/P&gt;&lt;P&gt;  type ssl-accel-backend&lt;/P&gt;&lt;P&gt;  add ssl-proxy-list bhdssl&lt;/P&gt;&lt;P&gt;  keepalive type script ap-kal-httptagban&lt;/P&gt;&lt;P&gt;  protocol tcp&lt;/P&gt;&lt;P&gt;  port 80&lt;/P&gt;&lt;P&gt;  ip address 192.168.249.23&lt;/P&gt;&lt;P&gt;  active&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script I used is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;!no echo&lt;/P&gt;&lt;P&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;/P&gt;&lt;P&gt;! Filename: ap-kal-httptagban&lt;/P&gt;&lt;P&gt;! Parameters: HostName WebPage HostTag&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;! Description:&lt;/P&gt;&lt;P&gt;! This script will connect to the remote host and do an HTTP&lt;/P&gt;&lt;P&gt;! GET method upon the web page that the user has asked for.&lt;/P&gt;&lt;P&gt;! This script also adds a host tag to the GET request.&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;! Failure Upon:&lt;/P&gt;&lt;P&gt;! 1. Not establishing a connection with the host.&lt;/P&gt;&lt;P&gt;! 2. Not receiving an HTTP status â&amp;#128;&amp;#156;200 OKâ&amp;#128;&amp;#157;&lt;/P&gt;&lt;P&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ${ARGS}[#] â&amp;#128;&amp;#156;NEQâ&amp;#128;&amp;#157; â&amp;#128;&amp;#156;3â&amp;#128;&amp;#157;&lt;/P&gt;&lt;P&gt;echo â&amp;#128;&amp;#156;Usage: ap-kal-httptagban \'192.168.249.23 /bancasa/start.swe?SWECmd=Logoff www2.bhd.com.do\'â&amp;#128;&amp;#157;&lt;/P&gt;&lt;P&gt;exit script 1&lt;/P&gt;&lt;P&gt;endbranch&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;! Defines:&lt;/P&gt;&lt;P&gt;set HostName â&amp;#128;&amp;#156;${ARGS}[1]â&amp;#128;&amp;#157;&lt;/P&gt;&lt;P&gt;set WebPage â&amp;#128;&amp;#156;${ARGS}[2]â&amp;#128;&amp;#157;&lt;/P&gt;&lt;P&gt;set HostTag â&amp;#128;&amp;#156;${ARGS}[3]â&amp;#128;&amp;#157;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;! Connect to the remote Host&lt;/P&gt;&lt;P&gt;set EXIT_MSG â&amp;#128;&amp;#156;Connection Failureâ&amp;#128;&amp;#157;&lt;/P&gt;&lt;P&gt;socket connect host ${HostName} port 80 tcp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;! Send the GET request for the web page&lt;/P&gt;&lt;P&gt;set EXIT_MSG â&amp;#128;&amp;#156;Send: Failedâ&amp;#128;&amp;#157;&lt;/P&gt;&lt;P&gt;socket send ${SOCKET} â&amp;#128;&amp;#156;GET ${WebPage} HTTP/1.0\nHost: ${HostTag}\n\nâ&amp;#128;&amp;#157;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;! Wait for a good status code&lt;/P&gt;&lt;P&gt;set EXIT_MSG â&amp;#128;&amp;#156;Waitfor: Failedâ&amp;#128;&amp;#157;&lt;/P&gt;&lt;P&gt;socket waitfor ${SOCKET} â&amp;#128;&amp;#156;SWE Internal Errorâ&amp;#128;&amp;#157; 2000&lt;/P&gt;&lt;P&gt;no set EXIT_MSG&lt;/P&gt;&lt;P&gt;socket disconnect ${SOCKET}&lt;/P&gt;&lt;P&gt;exit script 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notice this is an SSL back-end service. The web page the user should request is:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-custom" href="https://www2.bhd.com.do/bancasa/start.swe?SWECmd=Logoff" target="_blank"&gt;https://www2.bhd.com.do/bancasa/start.swe?SWECmd=Logoff&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it returs the page with the error, then is down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure I have all arguments OK or in the correct format. Also,I'm a little confused regarding whta the Hostag should be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please verify what I have wrong ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 10:49:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443655#M8161</guid>
      <dc:creator>wdiclo</dc:creator>
      <dc:date>2009-06-17T10:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: CSS 11503 keepalive scripts</title>
      <link>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443656#M8162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as shown in the script, you need to provide 3 arguments:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set HostName â&amp;#128;&amp;#156;${ARGS}[1]â&amp;#128;&amp;#157;&lt;/P&gt;&lt;P&gt;set WebPage â&amp;#128;&amp;#156;${ARGS}[2]â&amp;#128;&amp;#157;&lt;/P&gt;&lt;P&gt;set HostTag â&amp;#128;&amp;#156;${ARGS}[3]â&amp;#128;&amp;#157; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 - ip address or hostname which will be used as destination to open the connection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 - url ie: /index.html&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3 - server hostname: ie &lt;A class="jive-link-custom" href="http://www.cisco.com" target="_blank"&gt;www.cisco.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can pass the info to the script with the keepalive command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CSS11503-2(config-service[linux1])# keepalive type script ap-kal-httptag ?&lt;/P&gt;&lt;P&gt;  &lt;QUOTED text=""&gt;       Script Arguments (Len: 0-128)&lt;/QUOTED&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can put the information inside the script iself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gilles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 13:12:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443656#M8162</guid>
      <dc:creator>Gilles Dufour</dc:creator>
      <dc:date>2009-06-17T13:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: CSS 11503 keepalive scripts</title>
      <link>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443657#M8163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK Gilles, I understand the part of the 3 arguments, but based on my configuration and the parameters I'm using this will be ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;keepalive type script ap-kal-httptagban "192.168.249.3 /bancasa/start.swe?SWECmd=Logoff www2.bhd.com.do"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this command ok ?&lt;/P&gt;&lt;P&gt;Do you see anything wrong with my script and the fact that this is an ssl back-end ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 13:26:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443657#M8163</guid>
      <dc:creator>wdiclo</dc:creator>
      <dc:date>2009-06-17T13:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: CSS 11503 keepalive scripts</title>
      <link>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443658#M8164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How and where on the script I will define these arguments if I were to configure it in the script itself ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pardon my ingnorance, I'm new to CSS and scripts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 13:31:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css-11503-keepalive-scripts/m-p/443658#M8164</guid>
      <dc:creator>wdiclo</dc:creator>
      <dc:date>2009-06-17T13:31:47Z</dc:date>
    </item>
  </channel>
</rss>

