Forum Discussion
JRahm
Admin
2 years agoCollecting all pool/member stats from all partitions - Coding Live - May 26, 2023
I got a question in the technical forums on how to pull all stats for pools and members from all partitions with the iControl REST interface. Digging in, it doesn't appear to be possible directly unless using the deprecated soap iControl interface or building an iControl LX package. In this episode of Coding Live, I will pursue an alternative using tmsh scripting and then a single iControl REST request to download the stats file.
Resources
- Resulting TMSH Script to collect the stats
- Resulting Python Script to run the tmsh script and download the stats
- Automate your F5 BIG-IP using VScode Extension - YouTube
- DevCentral Connects: Extending VS Code - YouTube
- TMSH Scripting Home
- TMSH Reference Guide
- BIG-IP Interface Stats in Real Time with a TMSH Sc... - DevCentral
- Config Search - DevCentral
3 Replies
No RepliesBe the first to reply
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