cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
562
Views
0
Helpful
4
Replies

Probe a Proxy asking it a real URL from a CSM

jfoerster
Level 4
Level 4

Hi all,

I want to test if a proxy is up an running by checking if it is able to deliver a certain web-site which is behind this proxy.

The scenario is as following

|--PROXY1---|

CSM---| |-- real WEB-Server

|--PROXY2---|

What I want to achieve is the following:

If the right interface of PROXY1 or PROXY2 are failing I want to take this proxy out of service. Or if the web-server is not properly responding to the request the service should be taken to out of service.

I tried a http probe on the CSM asking a webpage at the web-server (request method get/head www.foo.com/path/page)

Unfortunaltely this probe always fails even if I can browse that url via that webproxy.

Has anyone seen such a behaviour or am I something missing that prevents me from doing this test in that way?

Regards,

Joerg

1 Accepted Solution

Accepted Solutions

can you try to sniff the probe from the CSM to the server and see what the CSM sends and what response it receives.

Gilles.

View solution in original post

4 Replies 4

mvoight
Level 1
Level 1

When using HTTP probe, it is important to set the expected http return code correctly. Do you know what return code is returned with the get or head?

http://www.cisco.com/en/US/products/hw/switches/ps708/products_installation_and_configuration_guide_chapter09186a00801c5899.html#1027523

HI,

well I told the CSM to expect 0 to 999 which should do the job but the service still said probe failed.

Well as a proxy i'm talking of the unauthenticated web-rpoxy of the SESM maybe that's where my problem comes from butI haven't seen any difference to a normal proxy. Well one thing I thought of is the difference between a serverstyle and a proxy style request that might get me into trouble?

Regards,

Joerg

can you try to sniff the probe from the CSM to the server and see what the CSM sends and what response it receives.

Gilles.

Hi all ,

I'm sorry to say that I found the solution which is pretty easy. It was just a matter of how long the timeout should be designed. After I did some tests I found out that the only way of a stable probe was a timeout of 60. A quite long timeout but well it works..

Thanks for helping...

Regards

Joerg