Forum Discussion
pchandhok_10964
Nimbostratus
Jun 26, 2008iRule to log LB::server is not working
Has anyone come across this?
I have a simple script to list all the servers and it returns nothing.
when CLIENT_ACCEPTED {
log "Servers are [LB::server]"
}
Possible bug? The client does connect fine though.
- Colin_Walker_12Historic F5 AccountThe LB::server command will only return data once there is an actual load balancing decision made. Try using it in or after the LB_SELECTED event.
- pchandhok_10964
Nimbostratus
Thanks. That did the trick. But what if I do want to check when a client is connected and not when a lb is selected? Will the lb::server command simply not work? - pchandhok_10964
Nimbostratus
Thank you. You've been a great help.
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