Forum Discussion
Collecting 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
- xuwenCumulonimbus
does it support for AS3 created LTM and GTM?
- JRahmAdmin
didn't get to it live, but just ran a quick test and it seems to, at least for LTM. Haven't done anything on the GTM side. Solution from the live stream is here: https://community.f5.com/t5/codeshare/collect-all-partition-pool-member-stats-with-tmsh/ta-p/315506
Recent Discussions
Related Content
* 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