Forum Discussion
Hi_91037
Nimbostratus
Dec 18, 2009[LB::server addr] does not return pool member ip address
I want to log pool member ip address. I have 3 members in pool and want to log the ip address of the member being connected.
Does the following irule sounds good
when CLIENT_ACCEPTED {
log local0. "Client sent to [LB::server addr]"
}
But in bigip log, i do not see the member ip address. It just displays pool name
1 Reply
- hoolio
Cirrostratus
A load balancing selection hasn't been made in the CLIENT_ACCEPTED event, so LB::server addr can't return the server IP address.
You could log the pool member selection in the LB_SELECTED event using LB::server addr or the actual pool member used when a connection is established in the SERVER_CONNECTED event using IP::server_addr. The wiki pages for these commands have more detail.
Aaron
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
