08-09-2007 12:32 AM
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
Solved! Go to Solution.
08-09-2007 12:29 PM
you could with a scripted probe.
Some example are available in the tcl file in the csm software download section.
Gilles.
08-09-2007 12:29 PM
you could with a scripted probe.
Some example are available in the tcl file in the csm software download section.
Gilles.
06-23-2008 04:37 PM
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
06-23-2008 10:24 PM
Yes you can.
The script lets you send whatever text you want.
There is no POST command but you can use a PUT command with the "POST ..." request.
set post_str "POST /cgi-bin/script.cgi HTTP/1.1\r\nHost: 1.1.1.1\r\n\r\n"
puts $sock $post_str
Gilles.
06-24-2008 07:51 AM
Ok, Gilles.
By the way, any restrictions implementing this feature in the CSM performance?
Thanks
Hugo
06-24-2008 08:46 AM
you can have only 50 instances of scripts running at any time. So that limits the number of server or the frequency.
Gilles.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: