Forum Discussion
zentropy_128313
Nimbostratus
Feb 04, 2005Accessing a Pool's Common.Statistic properties from within an IRule
I'm writing an iRule that redirects traffic based on the value of STATISTIC_SERVER_SIDE_CURRENT_CONNECTIONS for a particular pool. Does anyone know if there is a way to access this value?
zentropy_128313
Nimbostratus
Feb 07, 2005Thanks.
In the alternative, I was thinking that maybe I can create a cron job that uses the iControl SDK to periodically (e.g every 10 secs) poll the F5 for these statistics, and then insert them into the header of a request to a server managed by the F5.
I would then write an iRule to look for this header variable, and if found, it would set a tcl global variable to this value. Then any other request needing this statistic would be able to access it via the global variable.
Would this work?
Regards
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
