cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
536
Views
0
Helpful
1
Replies

Checking the return string in probe.

k_sinjish
Level 1
Level 1

Hi ,

We have configured the probe as below  in ACE .

probe http XXXXXXXX1

interval 4

passdetect interval 10

passdetect count 4

request method get url /sinji_mgmt.html

expect regex "online"

Here though the server   retuning some deferent  value than “ online “ the probe shows as passed.

Please tell me how can I  see , the regular expression which is getting from server .  Also please suggest me if the configuration is not correct.

Regards,

Sinjish.K

1 Reply 1

ciscocsoc
Level 4
Level 4

Hi,

The regex string should be unquoted e.g.

...

expect regex online

You only need quotes if the string contains spaces.

The other potential problem is that the server needs to send a Content-Length header. A packet packet capture from the server would show whether this is the case.

Hope that helps

Cathy

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: