Forum Discussion
kgangi_50732
Nimbostratus
Sep 21, 2010Simple http health monitor question
Good afternoon,
I'm trying to get a simple http health monitor working as it seems to be causing me trouble because of quotes that are required in the receive string so that we can be sure our site is up. The code is running on 9.4.6 HF2.
monitor http_website {
defaults from http
timeout 10
recv "<\div id=\"monitoring\">\<\/div\>"
}
(Ignore the \ before the div, between the > and < and before the backslash)
The Send String is just a simple "GET /". I've done this before but in our next release of our website the devs added a specific field that I can monitor because I used to monitor another part of the home page but when that changed it broken the site...not good. From the UI, when I remove the backslashes then it states that you need to escape the quotes. It works fine when I monitor another part of the site that doesn't NOT have quotes in the recv string.
Any help would be greatly appreciated,
Thank you
No RepliesBe the first to reply
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects