ONTAP Discussions

Netapp STorage Monitoring through API

AJ_Netapp
1,976 Views

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:

 

AJ_Netapp_0-1717125265091.jpeg

 

 

7 REPLIES 7

sanmanjax
1,903 Views

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.

AJ_Netapp
1,793 Views

We are capturing UUID for the volumes  Ex API:(https://100.0.0.10/api/storage/volumes)

 

AJ_Netapp_0-1717519603336.png

 

 

 

  1. 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.

AJ_Netapp_1-1717519603341.png

 

 

Please Let us know any further details required.

AJ_Netapp
1,639 Views

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

sanmanjax
1,627 Views

Are you passing the API key that you generate in the GUI?  If not, that would give you the authentication error you are seeing.

 

AJ_Netapp
1,509 Views

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)

 

AJ_Netapp_0-1718893358733.png

 

 

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.

AJ_Netapp_1-1718893358648.png

 

 

 

Please Let us know any further details required.

AJ_Netapp
1,345 Views

Hi sanmanjax

Could you provide your guidance on the same !
 
Thanks
Anton

sanmanjax
1,342 Views

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.

Public