Forum Discussion
Determine GTM availability with rest
I'm trying to create a status page that can report when user defined LTMs and GTMs aren't configured or functioning correctly.
With iControlRest, I can determine availability for LTMs by inspecting the value of "state", but I'm struggling on the GTM. Using "/mgmt/tm/gtm/pool/poolname/?expandSubcollections=true" provides "enabled" on poolstate and memberstate, but doesn’t actually give the up/down state that the LTM does.
I’d really like to retrieve the value that the F5 UI displays for Availability. i.e. offline (enabled). Has anybody else run into this? Am I missing something obvious here? Any ideas or direction would be greatly appreciated.
- TPM_278323
Nimbostratus
Was able to locate what I needed which was availabilityState & enabledState by using rest call /mgmt/tm/gtm/pool/mypoolname/members/stats
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