ONTAP Rest API Discussions

Performance Counters in REST API?

ilantivienna

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

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

@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? 

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public