Forum Discussion
Anuj_Chaudhary_
Nimbostratus
Aug 03, 2016Need Script so that we can fetch the report from F5 devices
Hi All,
Can you pls me to get the script so that we can fetch the report from F5 devices with Below info :
1.VIP Info 2.VIP service port 3.Pool member status 4.Pool member port
1 Reply
- Michael_Jenkins
Cirrostratus
If you're running 11.4 or greater, you could utilize iControlRest to grab the raw data and then parse it out into a report.
The following url formats should help get the data you're looking for:
- Virtuals:
https:///mgmt/tm/ltm/virtual?$select=fullPath,destination,pool - Pools:
https://mgmt/tm/ltm/pool?$select=fullPath,membersReference/items/fullPath,membersReference/items/state&expandSubcollections=true - Pool Status:
https:///mgmt/tm/ltm/pool/stats?$select=tmName,status.availabilityState,status.enabledState,status.statusReason
Note: You do have to parse out the port number from the fullPath for each of them
- Virtuals:
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects