Forum Discussion
Greg_34262
Nimbostratus
Jan 28, 2009Multiple return strings
I need to set up an HTTP monitor that will get a custom return string based on the current state of the site, i.e. offline, maintenance, or up states all return different status messages.
How can I check for any of the 3 states and if none are returned take the server out of the VIP. Is this something I can do by modifying the built in HTTP monitor or will I have to write a custom monitoring script?
I'm sure this has been done many, many times and should be an easy solution, but my search turned up zilch.
Thanks in advance for any help.
- hoolio
Cirrostratus
The receive string of a standard monitor can be a regex, so you can use something like this to check for first_string, second_string or third_string:
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