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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Checking the return string in probe.

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

  • Application Networking
1 REPLY
Silver

Checking the return string in probe.

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

219
Views
0
Helpful
1
Replies
This widget could not be displayed.