Forum Discussion
using Rest API to grab OIDs from F5 LTM
https://localhost/mgmt/tm/ltm/node?
{"kind":"tm:ltm:node:nodecollectionstate","selfLink":"","items":[{"kind":"tm:ltm:node:nodestate","name":"dis_NODE","partition":"Common","fullPath":"/Common/dis_NODE","generation":965,"selfLink":"","address":"10.10.10.2","connectionLimit":0,"dynamicRatio":1,"ephemeral":"false","fqdn":{"addressFamily":"ipv4","autopopulate":"disabled","downInterval":5,"interval":3600},"logging":"disabled","monitor":"default","rateLimit":"disabled","ratio":1,"session":"user-disabled","state":"unchecked"},{"kind":"tm:ltm:node:nodestate","name":"en_NODE","partition":"Common","fullPath":"/Common/en_NODE","generation":963,"selfLink":"","address":"10.10.10.1","connectionLimit":0,"dynamicRatio":1,"ephemeral":"false","fqdn":{"addressFamily":"ipv4","autopopulate":"disabled","downInterval":5,"interval":3600},"logging":"disabled","monitor":"default","rateLimit":"disabled","ratio":1,"session":"user-enabled","state":"unchecked"}]}
You will have to do some parsing to get the "session":"" information from the response....but this seems like what you are asking for?
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