<?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 Get host/compute(vm) performance data via api in HPE Morpheus Enterprise</title>
    <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/get-host-compute-vm-performance-data-via-api/m-p/7250093#M3267</link>
    <description>&lt;P&gt;Hi everyone, I’m developing with the API and had a quick question.&lt;/P&gt;
&lt;P&gt;How can I retrieve performance metrics like CPU, memory, and disk usage via API?&lt;BR /&gt;
I’d like to get real-time or recent performance stats in percentage form, similar to what’s shown on the dashboard or UI.&lt;/P&gt;
&lt;P&gt;Any guidance or example endpoints would be appreciated!&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Apr 2025 05:29:34 GMT</pubDate>
    <dc:creator />
    <dc:date>2025-04-18T05:29:34Z</dc:date>
    <item>
      <title>Get host/compute(vm) performance data via api</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/get-host-compute-vm-performance-data-via-api/m-p/7250093#M3267</link>
      <description>&lt;P&gt;Hi everyone, I’m developing with the API and had a quick question.&lt;/P&gt;
&lt;P&gt;How can I retrieve performance metrics like CPU, memory, and disk usage via API?&lt;BR /&gt;
I’d like to get real-time or recent performance stats in percentage form, similar to what’s shown on the dashboard or UI.&lt;/P&gt;
&lt;P&gt;Any guidance or example endpoints would be appreciated!&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Apr 2025 05:29:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/get-host-compute-vm-performance-data-via-api/m-p/7250093#M3267</guid>
      <dc:creator />
      <dc:date>2025-04-18T05:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Get host/compute(vm) performance data via api</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/get-host-compute-vm-performance-data-via-api/m-p/7250094#M3268</link>
      <description>&lt;P&gt;If you mean metrics from a VM you can use the /api/servers/id endpoint&lt;/P&gt;&lt;ASIDE class="onebox allowlistedgeneric" data-onebox-src="https://apidocs.morpheusdata.com/reference/gethost"&gt;
  &lt;HEADER class="source"&gt;
      &lt;IMG src="https://files.readme.io/1740d28-morpheus-symbolonly-v21.svg" class="site-icon" width="265" height="264" /&gt;

      &lt;A href="https://apidocs.morpheusdata.com/reference/gethost" target="_blank" rel="noopener"&gt;Morpheus Data&lt;/A&gt;
  &lt;/HEADER&gt;

  &lt;ARTICLE class="onebox-body"&gt;
    &lt;DIV class="aspect-image" style="--aspect-ratio:265/264;"&gt;&lt;IMG src="https://files.readme.io/fd9ec73-morpheus-symbolonly-v21.svg" class="thumbnail" width="265" height="264" /&gt;&lt;/DIV&gt;

&lt;H3&gt;&lt;A href="https://apidocs.morpheusdata.com/reference/gethost" target="_blank" rel="noopener"&gt;Get a Specific Host&lt;/A&gt;&lt;/H3&gt;

  &lt;P&gt;This endpoint retrieves a specific host.&lt;/P&gt;


  &lt;/ARTICLE&gt;

  &lt;DIV class="onebox-metadata"&gt;
    
    
  &lt;/DIV&gt;

  &lt;DIV style="clear: both"&gt;&lt;/DIV&gt;
&lt;/ASIDE&gt;

&lt;P&gt;There is a stats section in the return.&lt;/P&gt;
&lt;P&gt;If you wanted to get a percent of memory uses you could take usedMemory/maxMemory&lt;/P&gt;
&lt;P&gt;You can do the same for storage, and cpuUsage is already in the format you want.&lt;/P&gt;
&lt;P&gt;If you mean of a Morpheus app node look at /api/health&lt;/P&gt;&lt;ASIDE class="onebox allowlistedgeneric" data-onebox-src="https://apidocs.morpheusdata.com/reference/listhealth"&gt;
  &lt;HEADER class="source"&gt;
      &lt;IMG src="https://files.readme.io/1740d28-morpheus-symbolonly-v21.svg" class="site-icon" width="265" height="264" /&gt;

      &lt;A href="https://apidocs.morpheusdata.com/reference/listhealth" target="_blank" rel="noopener"&gt;Morpheus Data&lt;/A&gt;
  &lt;/HEADER&gt;

  &lt;ARTICLE class="onebox-body"&gt;
    &lt;DIV class="aspect-image" style="--aspect-ratio:265/264;"&gt;&lt;IMG src="https://files.readme.io/fd9ec73-morpheus-symbolonly-v21.svg" class="thumbnail" width="265" height="264" /&gt;&lt;/DIV&gt;

&lt;H3&gt;&lt;A href="https://apidocs.morpheusdata.com/reference/listhealth" target="_blank" rel="noopener"&gt;Retrieves Appliance Health&lt;/A&gt;&lt;/H3&gt;

  &lt;P&gt;This endpoint retrieves health info about the appliance such as cpu, memory and database usage. Elasticsearch statistics and queue usage are also returned.&lt;/P&gt;


  &lt;/ARTICLE&gt;

  &lt;DIV class="onebox-metadata"&gt;
    
    
  &lt;/DIV&gt;

  &lt;DIV style="clear: both"&gt;&lt;/DIV&gt;
&lt;/ASIDE&gt;</description>
      <pubDate>Fri, 18 Apr 2025 12:25:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/get-host-compute-vm-performance-data-via-api/m-p/7250094#M3268</guid>
      <dc:creator>tyboyd</dc:creator>
      <dc:date>2025-04-18T12:25:53Z</dc:date>
    </item>
  </channel>
</rss>

