Checking the return string in probe.

Unanswered Question
Mar 27th, 2012

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

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
ciscocsoc Wed, 03/28/2012 - 01:13

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

Actions

Login or Register to take actions

This Discussion

Posted March 27, 2012 at 5:31 AM
Stats:
Replies:1 Overall Rating:
Views:217 Votes:0
Shares:0
Tags: No tags.
 
 

Discussions Leaderboard

Rank Username Points
1
Syed Iftekhar Ahmed
1,580
2
ciscocsoc
369
3
sachinga.hcl
338
4
Surya ARBY
238
5
pablo.nxh
228