<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Is it possible to retrieve write,read and others IOPs at node level using Netapp Storage REST APIs in ONTAP Rest API Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Is-it-possible-to-retrieve-write-read-and-others-IOPs-at-node-level-using-Netapp/m-p/157836#M73</link>
    <description>&lt;P&gt;I am looking to retrieve&amp;nbsp;write,read and others IOPs at node level using NetApp Storage REST APIs , Usually we get IOPs info on Oncommand unified manager or grafana , I am trying to automate however I couldn't find anything on this in REST APIs documentation,&amp;nbsp; Any idea how to do this. Kindly help.Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 11:00:38 GMT</pubDate>
    <dc:creator>Juluri</dc:creator>
    <dc:date>2025-06-04T11:00:38Z</dc:date>
    <item>
      <title>Is it possible to retrieve write,read and others IOPs at node level using Netapp Storage REST APIs</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Is-it-possible-to-retrieve-write-read-and-others-IOPs-at-node-level-using-Netapp/m-p/157836#M73</link>
      <description>&lt;P&gt;I am looking to retrieve&amp;nbsp;write,read and others IOPs at node level using NetApp Storage REST APIs , Usually we get IOPs info on Oncommand unified manager or grafana , I am trying to automate however I couldn't find anything on this in REST APIs documentation,&amp;nbsp; Any idea how to do this. Kindly help.Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 11:00:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Is-it-possible-to-retrieve-write-read-and-others-IOPs-at-node-level-using-Netapp/m-p/157836#M73</guid>
      <dc:creator>Juluri</dc:creator>
      <dc:date>2025-06-04T11:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to retrieve write,read and others IOPs at node level using Netapp Storage REST AP</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Is-it-possible-to-retrieve-write-read-and-others-IOPs-at-node-level-using-Netapp/m-p/157875#M75</link>
      <description>&lt;P&gt;There are several metrics APIs depending on the object you are interested in. For example, if you want to see IOPs on aggregates, you could use the GET /storage/aggregates/{uuid}/metrics endpoint or for luns would be GET /storage/luns/{uuid}/metrics. These endpoints existing for clusters running ONTAP 9.7 or above.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can see from the URL that they require asking about a specific object. There is no node level call that lets you summarize them all automatically. You could write your script to do this however. It might be something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;from netapp_ontap import HostConnection, config
from netapp_ontap.resources import Aggregate, PerformanceMetric

config.CONNECTION = HostConnection("1.2.3.4", username="admin", password="pass123", verify=False)

# get a list of all of the aggregate uuids on node1
node_name = "node1"
aggregate_uuids = [aggr.uuid for aggr in Aggregate.get_collection(**{"node.name": node_name})]

# for each aggregate, find its total IOPs and add it to the sum
total_iops = 0
for uuid in aggregate_uuids:
    total_iops += sum([m.iops.total for m in PerformanceMetric.get_collection(uuid, fields="iops.total")])

print(f"Total IOPs for node {node_name} is {total_iops}")&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This example uses the netapp-ontap library (&lt;A href="https://pypi.org/project/netapp-ontap/" target="_self"&gt;download&lt;/A&gt;, &lt;A href="https://library.netapp.com/ecmdocs/ECMLP2858435/html/resources/performance_metric.html" target="_self"&gt;docs&lt;/A&gt;).&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 10:39:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Is-it-possible-to-retrieve-write-read-and-others-IOPs-at-node-level-using-Netapp/m-p/157875#M75</guid>
      <dc:creator>RobertBlackhart</dc:creator>
      <dc:date>2020-07-20T10:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to retrieve write,read and others IOPs at node level using Netapp Storage REST AP</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Is-it-possible-to-retrieve-write-read-and-others-IOPs-at-node-level-using-Netapp/m-p/157891#M76</link>
      <description>&lt;P&gt;Thank you Robert for checking this and sharing your thoughts.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 04:43:52 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Is-it-possible-to-retrieve-write-read-and-others-IOPs-at-node-level-using-Netapp/m-p/157891#M76</guid>
      <dc:creator>Juluri</dc:creator>
      <dc:date>2020-07-21T04:43:52Z</dc:date>
    </item>
  </channel>
</rss>

