Forum Discussion
GET all pool /mgmt/tm/ltm/pool/members/stats, but the Partition outside of Common cannot be obtained
- May 26, 2023
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.
- LiefZimmermanJun 20, 2023Admin
long_zhao - If your post was solved it would be helpful to the community to select *Accept As Solution*.
This helps future readers find answers more quickly and confirms the efforts of those who helped.
Thanks for being part of our community.
Lief
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