ONTAP Rest API Discussions

Performance Counters in REST API?

ilantivienna
3,172 Views

Using the ZAPI I can get a really large number of performance objects and its counters. E.g. on a ONTAP 9.6 simulator 574 performance-objects from accesscache to zodiac are provided. Each of these performance-objects has several counters. For example the volume object alone provides 690 counters from access_latency  to zombie_reclamation_priority.

 

How can we access this treasure trough the REST API on ONTAP 9.6 and even more on later releases, when the ZAPI has been disabled? 

2 REPLIES 2

Ontapforrum
3,155 Views

Hi,

 

I haven't used REST API yet, but there is reasonable information available to get started.

 

Performance monitoring:[REST API]
https://library.netapp.com/ecmdocs/ECMLP2858435/html/resources/volume.html#performance-monitoring


Performance metrics for storage resources through REST API:
https://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.dot-rest-api%2FGUID-40BD4502-5C01-420D-8986-804DF7253BED.html&lang=en

 

For a given storage object or protocol, the performance data falls into three categories:

IOPS
Latency
Throughput

 

Within each category, one or more of the following types of data (counters) is available:

Read (R)
Write (W)
Other (O)
Total (T)

 

Object references and access:
https://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.dot-rest-api%2FGUID-40BD4502-5C01-420D-8986-804DF7253BED.html&lang=en

 

https://blog.netapp.com/restful-apis-now-natively-available-with-netapp-ontap-9-6-software/

 

Thanks!

ilantivienna
3,146 Views

@Ontapforrum wrote:

Performance metrics for storage resources through REST API:
https://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.dot-rest-api%2FGUID-40BD4502-5C01-420D-8986-804DF7253BED.html&lang=en

 

For a given storage object or protocol, the performance data falls into three categories:

IOPS
Latency
Throughput

 

Within each category, one or more of the following types of data (counters) is available:

Read (R)
Write (W)
Other (O)
Total (T)

 

 


Thanks for the fast answer! So given the above we have total of 3 x 4 = 12 counters. Using the ZAPI I got hundreds of counters. So my question is: How can I access the other counters (e.g. cifs_read_latency) trough the REST? 

Public