Hello,
Can performance statistics be retreived via API or PowerShell?
Currently, this information can be downloaded via the Ontap management portal. I would like to add those statistics to my AsBuiltReport.Netapp.Ontap report.
Thanks!
1 messages · Page 1 of 1 (latest)
Hello,
Can performance statistics be retreived via API or PowerShell?
Currently, this information can be downloaded via the Ontap management portal. I would like to add those statistics to my AsBuiltReport.Netapp.Ontap report.
Thanks!
Can you? Yes. Should you? Probably not.
Performance APIs are very expensive to the node retrieving them. The APIs can also fail simply due to being busy.
In addition, many people had multiple tools monitoring the systems such as OnCommand Unified Manager, OnCommand Insight, third party tools, all making the expensive API calls at different times resulting in graphs that don't match.
To rectify this, some time ago ONTAP engineering provided the Cluster Counter Manager (CCM) which create Archives (CCMAs) for historical data that's provided via AutoSupport.
Oh, I just noticed that the counter manager data is available via API...
https://docs.netapp.com/us-en/ontap-restapi/unified/swagger-ui/index.html
Search for /cluster/counter
You also have the option of using Unified Manager as a 'middle man' that collects and parses this data that can also be pulled via REST. This can also provide a single API endpoint for multiple clusters.
My intention isn't to get those statistics every 5 minutes or replace existing tools. What I'm looking for is a simple snapshot of performance at the time the report is generated. But thanks for your input anyway. 😊
The historical samples of performance data for the cluster can be retrieved from the /cluster/metrics endpoint.
More info here: https://docs.netapp.com/us-en/ontap-restapi/unified/swagger-ui/index.html#/