cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
478
Views
0
Helpful
3
Replies

CSM HTTP Health Probe

jrichterkessing
Level 1
Level 1

Is there any way to configure an HTTP health probe that will test a web page and fail if it takes too long for the server to respond. I have attempted to do this (see below) but the "receive" parameter doesn't seem to help. We are currently having a problem where one of the web servers for whatever reason gets really slow, while the other works fine with about the same number of users, I'd like to fail the slow when this occurrs.

Here is my probe config:

probe HTTP-SERVERASP http

request method get url /server.asp

expect status 200 299

interval 5

failed 30

receive 5

Thanks...Jeff

3 Replies 3

Gilles Dufour
Cisco Employee
Cisco Employee

Jeff,

receive seems to be the solution for what you need.

Did you verify how fast/slow the server is responding.

Currently you allow 5 sec for the response to come back and 3 consecutives must fail before the server is brought down, so if your server resond 1 time fast enough, the server stays up.

So, use a sniffer trace to verify the response time.

Send me the trace if you want.

Gilles.

Thanks for the info Gilles...

I didn't realize it took 3 consecutive failures to mark a server "unhealthy"...I'm assuming that is the default. Can I change this using the "retries" command?

Thanks...Jeff

yes, the default is 3 and yes you can change it with the retries command.

Gilles.

Review Cisco Networking for a $25 gift card