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

Probe a Proxy asking it a real URL from a CSM

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
Cisco Employee

Re: Probe a Proxy asking it a real URL from a CSM

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.

4 REPLIES
New Member

Re: Probe a Proxy asking it a real URL from a CSM

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

Bronze

Re: Probe a Proxy asking it a real URL from a CSM

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

Cisco Employee

Re: Probe a Proxy asking it a real URL from a CSM

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.

Bronze

Re: Probe a Proxy asking it a real URL from a CSM

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

168
Views
0
Helpful
4
Replies
CreatePlease to create content