Forum Discussion
wtwagon_99154
Nimbostratus
Feb 17, 2009Is it possible to monitor for two expressions?
I wanted to see if it was possible to run a health monitor against two expressions.
Example:
GET /index.html HTTP/1.0\r\n\r\n
HTTP/1.0 200
OR
HTTP/1.0 404
Or can you apply two monitors against it -- one looking for HTTP/1.0 200 and one looking for HTTP/1.0 404. If they both fail, the pool member will be determined as down?
Thanks
1 Reply
- James_Quinby_46Historic F5 AccountI think this is totally possible - you'd want to craft a regular expression that contains both content that will be on the page under normal conditions, and a string that appears when a 404 is displayed. Take a peek at the 2nd post in this thread for an example:
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