Forum Discussion
Is there possible to configure expect string.
User has asked for health monitor as provided below. Is there possible to configure expect string as provided below.
probe http PORT-8081-HTTP port 8081 passdetect interval 45 receive 3 request method get url /health_status expect status 200 302 expect string '{"radix":"OK","redis":"OK"}' open 2
1 Reply
- youssef1
Cumulonimbus
Hello,
Of course you can set "Receive String/expect string" in your monitor:
Specifies the regular expression representing the text string that the monitor looks for in the returned resource. The most common receive expressions contain a text string that is included in an HTML file on your site. The text string can be regular text, HTML tags, or image names.
So in your case you have to se an regular epression.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com