Checking the return string in probe.

Unanswered Question
Mar 27th, 2012
User Badges:

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
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
ciscocsoc Wed, 03/28/2012 - 01:13
User Badges:
  • Silver, 250 points or more

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

This Discussion