<?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: Help w/Keepalive Script in Application Networking</title>
    <link>https://community.cisco.com/t5/application-networking/help-w-keepalive-script/m-p/465799#M8676</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ups,&lt;/P&gt;&lt;P&gt;seems I missed something in the script. Have never seen to enter llama from a keepalice script. Will check it very very detailed once more.&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt; Joerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jun 2005 03:34:32 GMT</pubDate>
    <dc:creator>jfoerster</dc:creator>
    <dc:date>2005-06-28T03:34:32Z</dc:date>
    <item>
      <title>Help w/Keepalive Script</title>
      <link>https://community.cisco.com/t5/application-networking/help-w-keepalive-script/m-p/465794#M8671</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to monitor returned error codes 500, 502, 503 and 504 as a keepalive condition.  &lt;/P&gt;&lt;P&gt;I found this link:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-custom" href="http://www.cisco.com/warp/public/117/script_500_series.html" target="_blank"&gt;http://www.cisco.com/warp/public/117/script_500_series.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;which seems to do what I'm looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I need help implement this scritp: create, upload, run...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm newbie w/CSS, any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Howard &lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2005 19:32:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/help-w-keepalive-script/m-p/465794#M8671</guid>
      <dc:creator>howard.yang</dc:creator>
      <dc:date>2005-06-14T19:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help w/Keepalive Script</title>
      <link>https://community.cisco.com/t5/application-networking/help-w-keepalive-script/m-p/465795#M8672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gilles,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've managed to upload the script on this link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-custom" href="http://www.cisco.com/warp/public/117/script_500_series.html" target="_blank"&gt;http://www.cisco.com/warp/public/117/script_500_series.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now I'm having trouble using this keepalive script:&lt;/P&gt;&lt;P&gt;service la-bobca1&lt;/P&gt;&lt;P&gt;  ip address 172.16.27.30&lt;/P&gt;&lt;P&gt;  protocol tcp&lt;/P&gt;&lt;P&gt;  port 8085&lt;/P&gt;&lt;P&gt;  keepalive type script ap-kal-http-response "la-bobca1 &lt;A class="jive-link-custom" href="http://la-bobca1:8085/wijsp/" target="_blank"&gt;http://la-bobca1:8085/wijsp/&lt;/A&gt; 500 590"&lt;/P&gt;&lt;P&gt;  active&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CSS11501# sh service la-bobca1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Name: la-bobca1         Index: 7&lt;/P&gt;&lt;P&gt;  Type: Local            State: Down&lt;/P&gt;&lt;P&gt;  Rule ( 172.16.27.30  TCP  8085 )&lt;/P&gt;&lt;P&gt;  Session Redundancy: Disabled&lt;/P&gt;&lt;P&gt;  Redirect Domain:&lt;/P&gt;&lt;P&gt;  Redirect String:&lt;/P&gt;&lt;P&gt;  Keepalive: (SCRIPT ap-kal-http-response   5   3   5 )&lt;/P&gt;&lt;P&gt;  Script Arguments: "la-bobca1 &lt;A class="jive-link-custom" href="http://la-bobca1:8085/wijsp/" target="_blank"&gt;http://la-bobca1:8085/wijsp/&lt;/A&gt; 500 590"&lt;/P&gt;&lt;P&gt;  Script Error: Script error in line: 29&lt;/P&gt;&lt;P&gt;  Script Run Time: 0 seconds&lt;/P&gt;&lt;P&gt;  Script Using Output parsing: No&lt;/P&gt;&lt;P&gt;  Last Clearing of Stats Counters: 06/22/2005 14:34:15&lt;/P&gt;&lt;P&gt;  Mtu:                       1500        State Transitions:            13&lt;/P&gt;&lt;P&gt;  Total Local Connections:   283         Total Backup Connections:     0&lt;/P&gt;&lt;P&gt;  Current Local Connections: 0           Current Backup Connections:   0&lt;/P&gt;&lt;P&gt;  Total Connections:         283         Max Connections:              65534&lt;/P&gt;&lt;P&gt;  Total Reused Conns:        0&lt;/P&gt;&lt;P&gt;  Weight:                    1           Load:                         255&lt;/P&gt;&lt;P&gt;  DFP:                       Disable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know TAC doesn't support custom script, can anyone help with this particular script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Howard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2005 19:32:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/help-w-keepalive-script/m-p/465795#M8672</guid>
      <dc:creator>howard.yang</dc:creator>
      <dc:date>2005-06-14T19:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help w/Keepalive Script</title>
      <link>https://community.cisco.com/t5/application-networking/help-w-keepalive-script/m-p/465796#M8673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Howard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all you need to do is copy the script in a text file.&lt;/P&gt;&lt;P&gt;Then import the file with the command 'copy ftp &lt;FTP-RECORD&gt; &lt;FILE-NAME&gt; script &lt;NAME&gt;'&lt;/NAME&gt;&lt;/FILE-NAME&gt;&lt;/FTP-RECORD&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the script has been loaded, you can use it under your service with the command&lt;/P&gt;&lt;P&gt;'keepalive type script &lt;NAME&gt; &lt;ARG&gt;'&lt;/ARG&gt;&lt;/NAME&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information about the script language, refer to the following document :&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/products/hw/contnetw/ps792/products_configuration_guide_chapter09186a0080157804.html" target="_blank"&gt;http://www.cisco.com/en/US/products/hw/contnetw/ps792/products_configuration_guide_chapter09186a0080157804.html&lt;/A&gt;&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, 22 Jun 2005 20:26:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/help-w-keepalive-script/m-p/465796#M8673</guid>
      <dc:creator>Gilles Dufour</dc:creator>
      <dc:date>2005-06-22T20:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help w/Keepalive Script</title>
      <link>https://community.cisco.com/t5/application-networking/help-w-keepalive-script/m-p/465797#M8674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Howard,&lt;/P&gt;&lt;P&gt;have you copied also included the llama part in your script?&lt;/P&gt;&lt;P&gt;I just counted the lines on the page and line 29 is the llama part which is not part of the keepalive script. If this is true just remove those lines and everyhting should be fine.&lt;/P&gt;&lt;P&gt;Otherwise please upload the script and we'll have a look at it.&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt; Joerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2005 16:12:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/help-w-keepalive-script/m-p/465797#M8674</guid>
      <dc:creator>jfoerster</dc:creator>
      <dc:date>2005-06-23T16:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help w/Keepalive Script</title>
      <link>https://community.cisco.com/t5/application-networking/help-w-keepalive-script/m-p/465798#M8675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the llama part of the script is required.&lt;/P&gt;&lt;P&gt;This is how the CSS collect the webpage in this particular script.&lt;/P&gt;&lt;P&gt;I think the problem is the missing 'use-output' paramter when you configure the script in the service.&lt;/P&gt;&lt;P&gt;This paramter tells the CSS to use the output of non-script command line like llama.&lt;/P&gt;&lt;P&gt;Give it a try and let us know the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&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;Don't forget to rate our answers &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2005 12:58:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/help-w-keepalive-script/m-p/465798#M8675</guid>
      <dc:creator>Gilles Dufour</dc:creator>
      <dc:date>2005-06-24T12:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help w/Keepalive Script</title>
      <link>https://community.cisco.com/t5/application-networking/help-w-keepalive-script/m-p/465799#M8676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ups,&lt;/P&gt;&lt;P&gt;seems I missed something in the script. Have never seen to enter llama from a keepalice script. Will check it very very detailed once more.&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt; Joerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2005 03:34:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/help-w-keepalive-script/m-p/465799#M8676</guid>
      <dc:creator>jfoerster</dc:creator>
      <dc:date>2005-06-28T03:34:32Z</dc:date>
    </item>
  </channel>
</rss>

