Forum Discussion
JRahm
Admin
Oct 10, 2005Passive monitoring with iRules
Our application folks have an app that until now has been behind a LocalDirector, which does passive monitoring. Now that they are behind the BigIP in the lab environment, their error logs are filling up with an uncompleted client connection (tcp monitor) Any advice on something like this
when SERVER_RESPONSE {
if { [IP::protocol] eq "1" } {
[LB::reselect] pool [LB::server pool]
}
}
I'd expect that if the port is no longer available, the server will respond with ICMP message and I'll reselect.
Also, any additional IP:: accessors on the horizon? I'd like to have access to ICMP types.
- drteeth_127330Historic F5 AccountI don't think that will work. icmp processing occurs before virtual server matching, so you can't write an iRule to override how the icmp is handled. That being said, if the failed connection is going through the virtual server, then you should get an LB_FAILED event. Or is it a BIG-IP tcp monitor that's failing?
- Brian_Gupta_115
Nimbostratus
Have you tried the TCP half-open monitor? - JRahm
Admin
yes, the tcp monitor is filling the logs with errors...tcp_half_open may be an option, I'll talk with the application folks. - drteeth_127330Historic F5 AccountLB_FAILED is triggered in a variety of circumstances. I'll list a few off the top of my head:
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