Effective December 3, NetApp adopts Microsoft’s Business-to-Customer (B2C) identity management to simplify and provide secure access to NetApp resources.
For accounts that did not pre-register (prior to Dec 3), access to your NetApp data may take up to 1 hour as your legacy NSS ID is synchronized to the new B2C identity.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Active IQ Unified Manager Discussions

Volume metrics through OnCommand API 2.1 issue

shynee

Hello,

 

I am trying to gather perforamance metrics on volumes. I can successfully pull metrics for Clusters, Node, Aggregates and SVM's. But on volumes, I only see three metrics on few volumes (total_throughput, write_throughput and read_throughput) and just reource_key and rest of the metrics are blank. Tried all the following URL's. Still no luck. I am wondering if I am missing something

 

GET /1.0/ontap/volumes/metrics
GET /2.0/ontap/volumes/metrics
GET /3.0/ontap/volumes/metrics
GET /4.0/ontap/volumes/metrics
GET /5.0/ontap/volumes/metrics

 

API Services : 2.1

OS : Centos 7.4

Cmode clusters - 9.1P2 and 9.2

 

Appreciate you response

 

Regards,

 

Shynee

1 REPLY 1

shynee

Clusters also report only four metrics. So I have an issue with cluster and volumes. Nodes, aggregates and Storage virtual machines are fine

 

 

If I try to access the metrics from a browser.

 

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<apiServerResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="">
<status>
<code>SUCCESS</code>
</status>
<result>
<total_records>224</total_records>
<records xsi:type="metricPerResourceKey">
<resource_key>
d4d585ba-6cfd-11e5-a8af-123478563412:type=volume,uuid=00dcffb0-55cf-4ca8-b74d-1c393971de74
</resource_key>
<metrics/>
</records>
<records xsi:type="metricPerResourceKey">
<resource_key>
d4d585ba-6cfd-11e5-a8af-123478563412:type=volume,uuid=b70ac8f7-b2aa-4db6-8dad-802c58e71c5e
</resource_key>
<metrics/>
</records>
<records xsi:type="metricPerResourceKey">
<resource_key>
d4d585ba-6cfd-11e5-a8af-123478563412:type=volume,uuid=34204fda-e291-4424-93e1-c96bd0b15f34
</resource_key>
<metrics/>
</records>
<records xsi:type="metricPerResourceKey">
<resource_key>
d4d585ba-6cfd-11e5-a8af-123478563412:type=volume,uuid=ea54a5fe-28e3-4dca-8aa0-202252ebf357
</resource_key>
<metrics/>
</records>
<records xsi:type="metricPerResourceKey">
<resource_key>
d4d585ba-6cfd-11e5-a8af-123478563412:type=volume,uuid=c0a2a065-e143-4c81-b3a9-873a0f968bea
</resource_key>
<metrics>
<metric>
<name>total_throughput</name>
<unit>per_sec</unit>
<samples>
<sample>
<timestamp>1526222391239</timestamp>
<value>0.0</value>
</sample>
</samples>
</metric>
<metric>
<name>write_throughput</name>
<unit>per_sec</unit>
<samples>
<sample>
<timestamp>1526222391239</timestamp>
<value>0.0</value>
</sample>
</samples>
</metric>
<metric>
<name>read_throughput</name>
<unit>per_sec</unit>
<samples>
<sample>
<timestamp>1526222391239</timestamp>
<value>0.0</value>
</sample>
</samples>
</metric>
</metrics>
</records>
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