24-May-2023 13:25 - edited 26-May-2023 10:26
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.
that's a good question @xuwen, we can discover and test during the session!
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