Forum Discussion
GET all pool /mgmt/tm/ltm/pool/members/stats, but the Partition outside of Common cannot be obtained
- 3 years ago
long_zhao code from the live session: https://community.f5.com/t5/codeshare/collect-all-partition-pool-member-stats-with-tmsh/ta-p/315506
We were able to collect pool member stats (just bits-in/out and pkts-in/out, but you can add the others you care about) from all pool members in multiple partitions via tmsh script and then download via python.
Here is an example :
https://192.168.88.100/mgmt/tm/ltm/pool/~Tenant_01~~Application_1~webpool/members/stats
SO the idea is the use a schema like this:
/mgmt/tm/ltm/pool/~<partition name>~<pool name>/stats
Thank you.
In this way, each pool requests an API interface once, and when there are many pools, the device's CPU or memory load will be high.
Recent Discussions
* 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