02-15-2004 11:45 AM
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
Solved! Go to Solution.
02-16-2004 12:51 AM
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.
02-15-2004 08:24 PM
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?
02-16-2004 12:26 AM
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
02-16-2004 12:51 AM
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.
02-17-2004 09:15 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide