Forum Discussion
Ravi_75522
Jan 24, 2012Nimbostratus
How to define a health monitor to check the status of state and disable it
Hello Team,
We are currently using 10.2.2 version and the there is a requirement to have a compound monitor.
first monitor 1) healthCheckAlive.html - returns the string "Alive" this monitor checks for the status code "Alive" and marks the node available. This should be done every 90 secs
Second Monitor 2) healthCheckStatus.html Returns 2 states: "Available" - allowing new sessions and existing sessions "MaxCapacity" - only allow existing sessions. This will return if the JVM reaches a certain % used. The % used should be a configurable value. Default 80%
Upon seeing the message "MaxCapacity" the node should be disabled so that the no new sessions are processed and the existing sessions are handled.
How do I configure this compund monitor
- hoolioCirrostratusHi Ravi,
monitor alive_http_monitor { defaults from http interval 90 timeout 271 recv "Alive" send "GET /healthCheckAlive.html HTTP/1.0\r\nConnection: Close\r\n\r\n" } monitor alive_disable_http_monitor { defaults from http recv disable "MaxCapacity" recv "Available" send "GET /healthCheckStatus.html HTTP/1.0\r\nConnection: Close\r\n\r\n" }
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