Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Answers

Track/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.

0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

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

0