bentuteh_340831
Feb 12, 2018Nimbostratus
Device Level Statistics on iControlREST
I am attempting to scrape current F5 Device level statistics for CPU, Memory, etc, from an API to instrument into a monitoring system. I see on the GUI dashboard for my F5 device under statistics ==> performance, but is it possible to pull this information from API? I'm not seeing any promising leads so far in the API documentation, but I also don't know my way around the API particularly well yet. Any insight or guidance would be very appreciated. Thanks!
So I found a few endpoints that can be queried via iControl REST API for these:
/mgmt/tm/sys/cpu /mgmt/tm/sys/memory
Though undocumented, these provide the device-level stats that I was looking for via REST API. Recursion was very helpful in parsing this data as well.