<?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 Re: ONTAP API: Query Node CPU metrics over past week. in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/ONTAP-API-Query-Node-CPU-metrics-over-past-week/m-p/438092#M41157</link>
    <description>&lt;P&gt;When reviewing the metrics available within AIQUM, I don't see a pure CPU% utilization value.&amp;nbsp; What I see instead is&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{ "samples":

  [

    {"performance_capacity" :

      {"used_percent": 0}

    }

  ]

}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where the extra detail within the API spec model offers this description:&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;DIV class=""&gt;Percentage of performance capacity that is being used.&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Before we begin using this value, I need to know how it is calculated and what values should generally be considered normal, warning, and critical.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Sep 2022 13:56:21 GMT</pubDate>
    <dc:creator>cpruden</dc:creator>
    <dc:date>2022-09-08T13:56:21Z</dc:date>
    <item>
      <title>ONTAP API: Query Node CPU metrics over past week.</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/ONTAP-API-Query-Node-CPU-metrics-over-past-week/m-p/438024#M41150</link>
      <description>&lt;P&gt;My objective is to query the CPU performance of a cluster node over the past week (averaged).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've found a couple endpoints, that are close - but looking for guidance.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;PRE&gt;GET https://clustername/api/cluster/nodes/{uuid}?fields=metric&lt;/PRE&gt;&lt;P&gt;^^ This doesn't appear to accept any override to the default interval/duration of PT15S (i assume 1hr, sampled every 15 secs).&amp;nbsp; I've tried query parameters of "metrics.duration", "duration", and "interval" - none of which are accepted.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;PRE&gt;GET https://clustername/api/cluster/nodes/{uuid}/metrics?status=ok&amp;amp;interval=1w&amp;amp;return_timeout=60&amp;amp;fields=processor_utilization,duration&amp;amp;return_records=true&lt;/PRE&gt;&lt;P&gt;^^ returns a list of 336 performance samplings over the past week.&amp;nbsp; I would prefer to have a single averaged score - since I'm querying a metric endpoint, not a statistics endpoint/property.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I appreciate any guidance that can be offered.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 22:06:22 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/ONTAP-API-Query-Node-CPU-metrics-over-past-week/m-p/438024#M41150</guid>
      <dc:creator>cpruden</dc:creator>
      <dc:date>2022-09-06T22:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: ONTAP API: Query Node CPU metrics over past week.</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/ONTAP-API-Query-Node-CPU-metrics-over-past-week/m-p/438027#M41151</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/111079"&gt;@cpruden&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whilst I have no doubt someone out there from our team will be able to help you with your ONTAP API query better than I. One point I wanted to highlight to you is if you want to be pulling historical metrics (i.e data points from over a week period), then potentially deploying ActiveIQ Unified Manager and then talking to it's API may be an option for you -&amp;nbsp;&lt;A href="https://docs.netapp.com/us-en/active-iq-unified-manager/api-automation/concept_metrics_apis.html" target="_blank"&gt;https://docs.netapp.com/us-en/active-iq-unified-manager/api-automation/concept_metrics_apis.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unified Manager is designed for monitoring and managing multiple ONTAP based systems and has it's own API and stores performance data for longer periods.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 01:28:05 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/ONTAP-API-Query-Node-CPU-metrics-over-past-week/m-p/438027#M41151</guid>
      <dc:creator>RossC</dc:creator>
      <dc:date>2022-09-07T01:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: ONTAP API: Query Node CPU metrics over past week.</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/ONTAP-API-Query-Node-CPU-metrics-over-past-week/m-p/438092#M41157</link>
      <description>&lt;P&gt;When reviewing the metrics available within AIQUM, I don't see a pure CPU% utilization value.&amp;nbsp; What I see instead is&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{ "samples":

  [

    {"performance_capacity" :

      {"used_percent": 0}

    }

  ]

}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where the extra detail within the API spec model offers this description:&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;DIV class=""&gt;Percentage of performance capacity that is being used.&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Before we begin using this value, I need to know how it is calculated and what values should generally be considered normal, warning, and critical.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 13:56:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/ONTAP-API-Query-Node-CPU-metrics-over-past-week/m-p/438092#M41157</guid>
      <dc:creator>cpruden</dc:creator>
      <dc:date>2022-09-08T13:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: ONTAP API: Query Node CPU metrics over past week.</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/ONTAP-API-Query-Node-CPU-metrics-over-past-week/m-p/438139#M41159</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/111079"&gt;@cpruden&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Suggest checking out the following KB Article which speaks to the "Performance Capacity" metric within Unified Manager -&amp;nbsp;&lt;A href="https://kb.netapp.com/Advice_and_Troubleshooting/Data_Infrastructure_Management/OnCommand_Suite/What_is_Performance_Capacity_in_ONTAP_9_and_Unified_Manager" target="_blank"&gt;https://kb.netapp.com/Advice_and_Troubleshooting/Data_Infrastructure_Management/OnCommand_Suite/What_is_Performance_Capacity_in_ONTAP_9_and_Unified_Manager&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 10:27:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/ONTAP-API-Query-Node-CPU-metrics-over-past-week/m-p/438139#M41159</guid>
      <dc:creator>RossC</dc:creator>
      <dc:date>2022-09-09T10:27:11Z</dc:date>
    </item>
  </channel>
</rss>

