03-27-2012 11:15 PM
Hi,
We are facing a problem with the HTTP probe configuration on the ACE4710 appliance, below is the configuration we are using;
probe http Portal-HTTP-Probe
interval 5
passdetect interval 2
passdetect count 2
receive 20
request method get url /portal/
expect status 0 999
expect regex <word> <-- tried with multiple word option available in the page
We are trying to probe a particular word from the page content to confirm that the web page is functioning properly, but in our case the probe is failing always. We tried with and without status code configuration and also with multiple words from the web page. The appliance is running with Version A4(2.0).
Pls share if anyone has any idea...
Thanks in advance
Rgds
Sudheer
03-28-2012 01:15 AM
Hi,
One potential problem is that the server needs to send a Content-Length header. If this header is not sent then the ACE will not check for the regex. A packet packet capture from the server would show whether this is the case.
Hope that helps
Cathy
03-28-2012 01:21 AM
Hi Cathy,
Thanks for the response..
Infact we already checked this and found that the server is returning with content length header..
Is there any specific requirement that the word should be from a specific portion of a page?
Rgds
Sudheer
03-28-2012 06:48 AM
what do you see when you do
show probe Portal-HTTP-Probe detail
please post
03-29-2012 09:31 AM
Check this
if you are still not able to get it working, take a packet capture and see what status you are getting as a response, or that are you even getting it ?
Since probe are sent from the control plane, you wont be able to capture it on the ACE.
So you may need to capture the info on switch span session.
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