ONTAP Discussions
ONTAP Discussions
Want to collect the Netapp Monitoring data via Rest API to our monitoring tool. While fetching Netapp Alerts & other metrics data we are facing issue; due to this we are unable to do monitoring. Need some guidance and support to get the below API to work !
We are getting this error:
Which environment are you accessing through API? The array(s) directly, Cloud Manager (BlueXP), Cloud Insights, etc. If you have multiple API access tokens, check to see that you are using the correct one for the API you are accessing. In Cloud Insights, for example, there are two types of tickets to choose from and there may be multiple tokens for each.
We are capturing UUID for the volumes Ex API:(https://100.0.0.10/api/storage/volumes)
But we are not receiving metrics fields through the API.
Please Let us know any further details required.
To collect the Netapp Monitoring data via Rest API to our monitoring tool. While fetching Netapp Alerts & other metrics data we are facing issue
We are pulling data from
https://<NetappIP Address>/sysmgr/v4/
Also tried with Active IQ Manager:
https://<Netapp Active IQ Manager IP>/workloads/overview
Are you passing the API key that you generate in the GUI? If not, that would give you the authentication error you are seeing.
Yes, we are passing the API key to generate. But API key is success, but we are not able to fetch the IOPS & latency and the CPU/Memory consumption. Do you have steps to get the IOPS/Latency/CPU/Memory consumption through API. That will be helpful.
We were able to fetch the Volume information with the API and it is succeeding; whereas
We are capturing UUID for the volumes Ex API:(https://100.0.0.10/api/storage/volumes)
After that we are using the UUID in the next API to fetch the Metrics data like IOPS and Latency.
But we are not receiving metrics fields through the API.
Please Let us know any further details required.
I don't know that I can help you with specifics, just trying to help you with basic troubleshooting. We use python to access the REST APIs for more general metrics (capacity, trending, etc.) and management (create, move, snapshots, etc.). We leave performance monitoring to Cloud Insights.