Forum Discussion
The-messenger
Cirrostratus
Jan 29, 2019Track/Log Pool section for a specific client IP
LTM 12.1.4
How can I track selection/usage from a specific client IP to a VIP/Pool selection?
Trying to help determine what and application is failing through LTM.
Jan 29, 2019
Hi,
You could use this irule.
when CLIENT_ACCEPTED {
log local0. "client: [IP::client_addr]:[TCP::client_port] server:"
}
when LB_SELECTED {
log local0. "client: [IP::client_addr]:[TCP::client_port] server: [LB::server addr]: [LB::server port]"
if { [IP::client_addr] == [LB::server addr] } {
log local0. "client: [IP::client_addr]:[TCP::client_port] LB::reselect"
LB::reselect
}
Cheers,
Kees
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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