Forum Discussion
Tim_Armstrong_9
Jul 26, 2012Nimbostratus
iRule for monitoring back-end server
Hello All, Is there any iRule that can monitor the back-end server so if the back-end server is busy or dies, the pool member will be marked down? So whenever back-end server i...
monitauress_634
Oct 12, 2012Historic F5 Account
Here is a great document on passive monitoring: http://lorimacvittie.sys-con.com/node/1483899/mobile, with an example at the end.
Here are a couple of simple iRules to get started:
Mark the pool member down if unable to connect to server:
rule server_down {
when LB_FAILED {
LB::down
}
}
Mark the pool member down upon a bad response from server:
rule bad_resp {
when HTTP_RESPONSE {
if { [HTTP::status] >= 500 } {
LB::down
}
}
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