Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

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

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: CSM Probe Question

you could with a scripted probe.

Some example are available in the tcl file in the csm software download section.

Gilles.

5 REPLIES
Cisco Employee

Re: CSM Probe Question

you could with a scripted probe.

Some example are available in the tcl file in the csm software download section.

Gilles.

New Member

Re: CSM Probe Question

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

Cisco Employee

Re: CSM Probe Question

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.

New Member

Re: CSM Probe Question

Ok, Gilles.

By the way, any restrictions implementing this feature in the CSM performance?

Thanks

Hugo

Cisco Employee

Re: CSM Probe Question

you can have only 50 instances of scripts running at any time. So that limits the number of server or the frequency.

Gilles.

217
Views
0
Helpful
5
Replies
CreatePlease to create content