CSM HTTP-Probe question

We use two redundant CSM-Modules with version 3.1(6).
Now we have the need to check the content of a website in a probe configuration. The serveradmins shall have the possibility with a change of a value in the website bring up or down their server (of the view of the CSM). It's not sufficient to check the http returncode, I think we need the possibility to check the whole checksum of the website.
How can we do this ?
Thanks+Best Regards
HL

I don't think the CSM has this feature [like the CSS does have the hash function to detect if the content of a page changed].
However, you can create your own tcl script for the CSM to send an http request and look for a special string in the response from the server.
There are example of tcl script on the CSM software download page.
Regards,
Gilles.

Similar Messages

  • CSM HTTP Probes with Method GET

    Hello.
    How does the HTTP Probe with Method GET work on CSM and what is the difference with CSS?
    CSS calculates the HASH of the web page it receives as a first answer and considers that as a REFERENCE HASH, to compare with subsequent answers. Is the behaviour of the CSM the same?
    In the CSS it is also possible to insert the HASH in the configuration as a reference HASH. I did not find such a command on the CSM. Is that feature not present on CSM?
    Thanks.

    the CSM just looks for the response code.
    No hash or anything similar to the CSS.
    Regards,
    Gilles.

  • CSM HTTP Probe issue

    I am using the HTTP probe shown below. When we shutdown our backend application the server is returning a 500 response code to the client but the CSM does not remove it from service.
    probe TEST http
    request method get url /test/engine
    expect status 0 499
    interval 10
    failed 10
    port 8001
    What if any difference is there between
    request method get url and
    request url
    Is there any way that I can see the last response code that the CSM received?
    It looked like it wanted to fail but didn't:
    CSM#sh mod csm 8 probe real 10.10.63.18
    real = 10.10.63.18:8001, probe = TEST, type = http,
    vserver = D-TESTVIP, sfarm = D-TESTSERVER
    status = OPERABLE, current = 16:44:21 EDT 07/22/08,
    successes = 1714, last success = 16:44:16 EDT 07/22/08,
    failures = 35, last failure = 16:33:55 EDT 07/22/08,
    state = Waiting for server to reply
    CSM#sh mod csm 8 probe name TEST
    type port interval retries failed open receive
    http 8001 10 3 10 10 10
    Thank you,
    Dave

    Ok thanks. I had never seen anything on this venus mode before. It doesn't accept the command though. I get Symbol 'testhttp' not found! when I enter the command. I have version 4.2(3a) of the CSM code running.
    VENUS# ?
    usage
    upgrade slot0:|server-ip-addr filename
    create virtual ...
    destroy virtual ...
    rename virtual ...
    add pool ...
    remove pool ...
    bind virtual-name ...
    unbind virtual-name rule-id
    reorder virtual-name ...
    set balancer ...
    classify acl ...
    address system ...
    show virtual ...
    load cfg-filename
    restore config defaults|flash|backup
    debug ixp rd|wr chip addr #dwords
    stats real [rserver-name]
    script [file [slot0:script_file|tftp_addr script_file]]
    capture [on|off]
    venus
    tftp core_dump tftp-ip-addr [filename]
    exit

  • ACE HTTP Probe Question (HTTP Version)

    Hello, I am wondering what HTTP version ACE uses when sending HTTP/HTTPS probes to a web server. I am currently running A2(3.3) if that has any bearing. TIA

    Hi,
    The default get request method is HTTP/1.1 when the ACE is sending the probe and i dont
    think there is a way to change this default behavior.
    Regards,
    Siva

  • CSM HTTP Probe

    Does CSM support HTTP/1.0 probe?
    A tomcat server is giving a "400 bad request" response if request was sent over HTTP/1.1 and 200 OK over 1.0.

    Hi,
    yes. you can create TCL script and send HTTP/1.0 request to server.
    martin

  • ACE http Probe Question

    Hi there,
    I have a probe and it keeps failing. I believe it might be something to do with the special character in the URL. The URL requires a port then a page after the server address:
    probe http Server2_Probe
    description Checks Server2 http is responding
    ip address 10.x.x.x
    interval 30
    faildetect 4
    passdetect interval 3
    receive 5
    request method get url :8100/gdesktop
    expect status 200 200
    Can someone point me in the right direction as to how I implement this probe if the :8100 port syntax is not allowed?
    Thanks

    Hi,
    In the probe definition add
    port 8100 - this changes the port used from the default of 80. Then remove :8100 from the url.
    HTH
    Cathy

  • CSM Probe Question

    Hello,
    We are currently running an http probe on the CSM which accepts a return code of 200 and 401 (because this application is single sign on and CSM does not have a user defined for it).
    This application is having an issue where the web application is available and returning a 401 code, however in some cases the actual application instance is not available.
    The only way we can see that is by looking at the HTTP stream:
    HTTP/1.1 401 Unauthorized
    WWW-Authenticate: NTLM
    Content-Length: 0
    Date: Thu, 05 Jul 2007 16:29:22 GMT
    Server: Apache-Coyote/1.1
    Connection: close
    This connection close is the only value by which we can tell whether the application is working.
    My question is there anyway we can use this value in the probe. I am quiet sure that its not possible but if anyone can confirm that will be great.
    Thanks

    Hi Gilles,
    I was reading that CSM only supports on a HTTP Probes the request methods like "GET", "HEAD" and "URL", Not "POST".
    It is possible to configure in a TCL script a HTTP Probe with "POST"?
    I see in the manual (4.2(x) Release)that does not appears the generic tcl command "POST".
    I will really appreciate your help.
    Thanks
    Hugo Rivas
    Network Services
    Data Center Triara

  • ACE 4710 http probe get url question

    I am trying to create a http probe using the request method get url command. My url contains a question mark and the ACE will not accept the url as is and it strips out the question mark character. Is there a way to make the ace accept a url containg a question mark?
    probe http HTTP_PROBE
      port 9040
      interval 10
      faildetect 5
      passdetect interval 60
      expect status 200 200
      open 1
    The url I am trying to enter is /psp/epprod/?cmd=login
    When I enter it the ACE does as shown below
    (config-probe-http)# request method get url /psp/epprod/?
    <LINE>
    ACE-APP-02/vc_peoplesoft(config-probe-http)# request method get url /psp/epprod/cmd=login
    It strips out the ? character.

    Hi Nicholas,
    To enter a question mark you need to type ctrl+v prior to entering the ?
    You enter the control key then lowercase v, then your question mark.
    HTH
    Pablo

  • CSM HTTPS or SSL Health Probe

    We are currently using TCP probe for HTTPS webServer health checking. Is there a HTTPS or SSL probe available on CSM to send a url to detect if the HTTPS Apache WebServer is up or not?
    Many Thx, Q.Xie

    You can download the TCL script file from the same locstion as the CSM software.
    In this TCL file you should find the following scripts
    [root@linux-1 cisco]# cat /tftpboot/c6slb-apc.4-2-1.tcl | grep -i "name ="
    #!name = CHECKPORT_STD_SCRIPT
    #!name = ECHO_PROBE_SCRIPT
    #!name = FINGER_PROBE_SCRIPT
    #!name = FTP_PROBE_SCRIPT
    #!name = HTTPCONTENT_PROBE
    #!name = HTTPHEADER_PROBE
    #!name = HTTPPROXY_PROBE
    #!name = HTTP_PROBE_SCRIPT
    #!name = IMAP_PROBE
    #!name = LDAP_PROBE
    #!name = MAIL_PROBE
    #!name = POP3_PROBE
    #!name = PROBENOTICE_PROBE
    #!name = RTSP_PROBE
    #!name = SSL_PROBE_SCRIPT
    #!name = TFTP_PROBE
    There is a SSL_PROBE_SCRIPT that will verify that the SSL server respond to a client SSL HELLO message.
    It does not verify if you can send an HTTP request.
    It only sends a HELLO as a client and wait for the server HELLO.
    With the SSLM for the CSM, there might be a way to achieve HTTPS probe.
    I never tried it, but the solution I see would be to create an HTTP probe on the CSM and direct to the SSLM which will do the encryption and forward it to the server.
    Regards,
    Gilles

  • Http probe on non-standard tcp port 8021

    I've configured http probe on standard port 80 with no issue. I'm now trying http probe on non-standard tcp port 8021, confirmed with packet capture to confirm that the CSM is indeed probing, status code 403 is returned but the reals are showing "probe failed". Am I missing something? Thank you in advance.
    CSM v2.3(3)2
    probe 8021 http
    request method head
    interval 2
    retries 2
    failed 4
    port 8021
    serverfarm TEST
    nat server
    no nat client
    real 10.1.2.101
    inservice
    real 10.1.2.102
    inservice
    probe 8021
    vserver TEST
    virtual 10.1.2.100 tcp 8021
    serverfarm TEST
    replicate csrp connection
    persistent rebalance
    inservice
    VIP and real status:
    vserver type prot virtual vlan state conns
    Q_MAS_8021 SLB TCP 10.1.2.100/32:8021 ALL OUTOFSERVICE 0
    real server farm weight state conns/hits
    10.1.2.101 TEST 8 PROBE_FAILED 0
    10.1.2.102 TEST 8 PROBE_FAILED 0

    you need to specify what HTTP response code you expect.
    The command is :
    gdufour-cat6k-2(config-slb-probe-http)#expect status ?
    <0-999> expected status - minimum value in a range
    The default is to expect only 200.
    This is why your 403 is not accepted.
    Gilles.

  • HTTP Probe and DNS names

    Hi,
    I think i have a very simple question.
    I want to setup an HTTP probe to test for URL, like http://www.cnn.com/
    When I specify such "request" command under probe confif menu, I would assume that ACE will need to perform name resolution for www.cnn.com, but I cannot find any reference on how to configure DNS servers on ACE....
    Am I missing something, or maybe I cannot do HTTP probe request by name and it had to be in a format of
    http://<ip address/?
    Thank you,
    David

    Hi,
    My initial idea was to use the following command:
    request method get url http://www.abc.com/
    This is why I had my initial question about how will ACE resolve www.abc.com
    Now thinking more about it I wonder if ACE even needs to resolve it at all.
    I intend to apply the probe under rserver in serverfarm config, so ACE will know the IP address of where to send the probe from rserver configuration. If so, no DNS query is needed. ACE will just construct the packet and put relevant information in HTTP portion.... Am I correct?
    If yes, what would be a difference is doing
    header Host header-value "http://www.abc.com/"
    vs
    request method get url http://www.abc.com/
    Thanks!
    David

  • ACE http probe "request method type" mandatory on A3(2.6)?

    Hi people,
    I recently upgraded to A3(2.6) from A3(2.0) and I don't see the N/A option on the http probe "request method type".
    It also has an asterisk * which means it's mandatory.
    I tried to set up a new http probe for another farm I am creating and the probe shows status failed, although I can ping and telnet to the http server on port 80 from the ACE context. My probe is like that:
    probe http http_probe_WWW
      interval 15
      passdetect interval 60
      expect status 200 200
      open 10
    My other http probes for other farms work ok after the upgrade and they are similar.
    So my question is: Do I need to set the request method type or something else causes the probe to fail?
    thanks a lot.
    George

    What you see is a problem with the GUI.
    CSCtg78008    while creating http probe default method slected should be get as in CLI
    But the request-method is not required.
    So your config should work.
    Do a 'show probe detail' to see the failure reason.
    Get a sniffer trace as well.
    Regards,
    Gilles.

  • ACE HTTP probe hash md5 value

    Hi,
    We would like to see the hash value calculated by the ACE when the HTTP probe hash command configured.
    This is possible on CSS via the "sh service" command. We have tried to get it from sh rserver , sh probe XXX detail sh serverfarm XXX det but we do not get it.
    Is this possible to get it on the ACE as we do on the CSS?
    We need this to manually configure it via the hash <value> command because if the ACE probe is reseted for any reason, the probe http hash will be re-calculated based on the first http response of the server and we can not predict that the server will give the expected web page at this time.
    A // question is: on what the md5 value is calculated? HTTP header + payload or only http object payload? We have calculated the md5 hash value by ourselves but the probe is still failing whatever the http portion used for the calculation is.
    Many thanks for your help.
    Regards/ludovic.

    probe http MD5-HTTP
    interval 15
    passdetect interval 15
    request method get url /index.html
    expect status 200 200
    hash 2441DA7F68A265F8CFB4426B6897CE33
    And here is how I computed the hash on the server itself [linux machine]
    md5sum /var/www/HTML/index.html
    2441da7f68a265f8cfb4426b6897ce33 /var/www/HTML/index.html
    [root@linux-1 tftpboot]#
    The probe is UP
    switch/Admin# sho probe MD5-HTTP detail
    probe : MD5-HTTP
    type : HTTP
    state : ACTIVE
    description :
    port : 80 address : 0.0.0.0 addr type : -
    interval : 15 pass intvl : 15 pass count : 3
    fail count: 3 recv timeout: 10
    http method : GET
    http url : /index.html
    Hash-value : 2441da7f68a265f8cfb4426b6897ce33
    conn termination : GRACEFUL
    expect offset : 0 , open timeout : 10
    expect regex : -
    send data : -
    --------------------- probe results --------------------
    probe association probed-address probes failed passed health
    ------------------- ---------------+----------+----------+----------+-------
    serverfarm : linux1
    real : linux1[0]
    192.168.30.27 13 4 9 SUCCESS
    md5sum is a standard tool.
    Nothing fancy about it.
    Gilles.

  • CSM health probe for server farm with multiple vservers

    Is there a way to specify the vserver port that a health probe monitors when multiple vservers are configured for the same serverfarm? Let's say I have a serverfarm named farm1. farm1 services two ports www and https so two vservers vserver_www and vserver_https are configured and bound to farm1. I would like to enable http health probe on farm1 with the intention of only monitoring vserver_www http port but, instead, the health probe monitors both www and https and since a http probe on https fails it takes farm1 reals and both vservers vserver_www and vserver_https out-of-service. Is there a way to configure a health probe to monitor a specific port? Or, should I create two duplicate serverfarms farm1 bound to vserver_www and farm2 bound to vserver_https and only enable http health probe on farm1? Any other ideas welcomed.

    Appreciate the feedback. I also found what I was looking for in configuration examples. To summarize I've borrowed the comment from the URL below:
    # The port for the probe is inherited from the vservers.
    # The port is necessary in this case, since the same farm
    # is serving a vserver on port 80 and one on port 23.
    # If the "port 80" parameter is removed, the HTTP probe
    # will be sent out on both ports 80 and 23, thus failing
    # on port 23 which does not serve HTTP requests.
    http://www.cisco.com/univercd/cc/td/doc/product/lan/cat6000/mod_icn/csm/csm_4_2/config/cfgxpls.htm

  • HTTP Probe ACE Modules

    Team,
    Below is a snapshot of the HTTP Probe that I currently have confgured:
    probe http http-probe
    interval 10
    passdetect interval 3
    request method head
    expect status 200 200
    My question is, what if one of my reservers has a bad URL but the subsystem in IIS is responding with a 200 status? How do I protect myself from this situation and have the ACE module take this rserver out of rotation?
    Thank you,
    John...

    For example instead of root url you can probe a specific url pointing to the app like
    probe http http-probe
    interval 10
    passdetect interval 3
    request method head
    request method get url /testpage.html
    expect status 200 200
    Where tespage.html is the app specific page.
    There could also be situations where requirement would be to keep track of the backend server along with the front end/Web server and mark the Web server down if a backend server (like application /database server is down).
    This can be achieved by if APP can be tweaked by developers such that it make calls to backend servers (like DB server) and populate a page with some value from the database. In http probe you can look for that value and if that value doesnt exist then you can mark the server down.
    for e.g in following example if ACE will mark the server down if it gets 200 ok but doesnt get "DBISUP" in response
    probe http http-probe
    interval 10
    passdetect interval 3
    request method head
    request method get url /checkdbpage.html
    expect status 200 200
    expect regex DBISUP
    HTH
    Syed Iftekhar Ahmed

Maybe you are looking for

  • Domain Object and Service oriented pattern

    We have J2EE based application with following components, we are facing some issues with existing system. Current System : We have J2EE based application. The following is the flow. Client Layer [including JSP, Struts ] action classes  Delegates 

  • ABAP Program to Read Transports and Get Descriptions

    Hello, Does anyone out there have an abap program or know of one that will read transports with the technical names and give you the description of the objects, in order to make it easier to verify things in a transport?

  • High-speed data acquisition and DMA

    Hi, I have a custom home-made 4 channel, 16 bit data acquisition board that has onboard memory of 2 GB and can sample at 250 MSPS. The daq returns data in 1 MB data block size. The Labview wrapper allows us to operate this board in two modes (continu

  • Font and size changes  in design view  don't appear

    I am using the trial version of Dreamweaver CS3 on my G5 Mac (Leopard), and whenever I make changes to the font and font size, it does not appear in the design- although the code is there (in both the css that I create or specific to the paragraph) a

  • Transportation planning point for freight settlement

    Hi, Previously with std ECC set up we used to have the config related to asisgnment of transportation planning point with shipping condition, porg,pgroup and plant.Now with TM 9.1 in place do we still require the above config as part of settlement of