<?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 Custom Report for Host Capacity Growth in HPE Morpheus Enterprise</title>
    <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/custom-report-for-host-capacity-growth/m-p/7249629#M2803</link>
    <description>&lt;P&gt;Hi experts, Morpheus support teams,&lt;/P&gt;
&lt;P&gt;I have a use case that requires generating a report that tracks physical host usage growth that is managed on Morpheus to plan for server purchases or upgrades for the system each year. Therefore, this report must provide RAM, CPU and Storage usage in a certain period of time such as a quarter or 1 year. In addition, the report information also needs to show the chart inside from the above data as the image below. (I know we can use Google Charts to do the graphs)&lt;/P&gt;
&lt;P&gt;After reading about the Custom Report document and accessing my database, I found the &lt;CODE style="background : #f0f1f2;"&gt;cumpute_server&lt;/CODE&gt; table that can provide the necessary data fields about CPU, RAM, and Storage usage, but there is only the time field &lt;CODE style="background : #f0f1f2;"&gt;last_updated&lt;/CODE&gt; is not enough to track capacity growth over certain time periods (1 month or 1 year). I believe this requirement is possible, right?&lt;/P&gt;
&lt;P&gt;It would be very grateful to see your help! Thank you!&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;DIV class="lightbox-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screenshot 2023-09-28 at 14.21.51"&gt;&lt;img src="https://community.hpe.com/t5/image/serverpage/image-id/150572i9C920D60B037DBCA/image-size/large?v=v2&amp;amp;px=2000" role="button" title="90071147b4ec1510f37b29b94bf2ec5719585fa0.jpeg" alt="90071147b4ec1510f37b29b94bf2ec5719585fa0.jpeg" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Sep 2023 07:26:50 GMT</pubDate>
    <dc:creator>CuongDuong</dc:creator>
    <dc:date>2023-09-28T07:26:50Z</dc:date>
    <item>
      <title>Custom Report for Host Capacity Growth</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/custom-report-for-host-capacity-growth/m-p/7249629#M2803</link>
      <description>&lt;P&gt;Hi experts, Morpheus support teams,&lt;/P&gt;
&lt;P&gt;I have a use case that requires generating a report that tracks physical host usage growth that is managed on Morpheus to plan for server purchases or upgrades for the system each year. Therefore, this report must provide RAM, CPU and Storage usage in a certain period of time such as a quarter or 1 year. In addition, the report information also needs to show the chart inside from the above data as the image below. (I know we can use Google Charts to do the graphs)&lt;/P&gt;
&lt;P&gt;After reading about the Custom Report document and accessing my database, I found the &lt;CODE style="background : #f0f1f2;"&gt;cumpute_server&lt;/CODE&gt; table that can provide the necessary data fields about CPU, RAM, and Storage usage, but there is only the time field &lt;CODE style="background : #f0f1f2;"&gt;last_updated&lt;/CODE&gt; is not enough to track capacity growth over certain time periods (1 month or 1 year). I believe this requirement is possible, right?&lt;/P&gt;
&lt;P&gt;It would be very grateful to see your help! Thank you!&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;DIV class="lightbox-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screenshot 2023-09-28 at 14.21.51"&gt;&lt;img src="https://community.hpe.com/t5/image/serverpage/image-id/150572i9C920D60B037DBCA/image-size/large?v=v2&amp;amp;px=2000" role="button" title="90071147b4ec1510f37b29b94bf2ec5719585fa0.jpeg" alt="90071147b4ec1510f37b29b94bf2ec5719585fa0.jpeg" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 07:26:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/custom-report-for-host-capacity-growth/m-p/7249629#M2803</guid>
      <dc:creator>CuongDuong</dc:creator>
      <dc:date>2023-09-28T07:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Report for Host Capacity Growth</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/custom-report-for-host-capacity-growth/m-p/7249630#M2804</link>
      <description>&lt;P&gt;I don’t know of an example to share I’m sorry.  But how it could work at a high level though…? I am happy to share more on my thought process:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Create a task, say in Python, that reads user credentials for the database stored in Cypher. The user there has database grants to read from a Morpheus table  (compute_server) and write to a custom table (created already)&lt;/LI&gt;
&lt;LI&gt;That task is run as a scheduled job, daily, weekly or whatever is needed.&lt;/LI&gt;
&lt;LI&gt;The query executed by the above task takes all the data from compute_server table and inserts it to the custom table, probably behind a new primary key.&lt;/LI&gt;
&lt;LI&gt;Your report query, can access the custom table (read only) since it is inside the Morpheus DB.  You can query and aggregate for the report there, or you can aggregate the data needed when you snapshot compute_server&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I hope that can help you progress your requirement.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 20:22:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/custom-report-for-host-capacity-growth/m-p/7249630#M2804</guid>
      <dc:creator>Ollie-Phillips</dc:creator>
      <dc:date>2023-09-28T20:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Report for Host Capacity Growth</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/custom-report-for-host-capacity-growth/m-p/7249631#M2805</link>
      <description>&lt;P&gt;Thank &lt;A class="mention" href="https://community.hpe.com/u/ollie_phillips"&gt;@Ollie_Phillips&lt;/A&gt; for your instruction, It’s clearly enough to implement the use case. I will test these processes soon and if there are any issues, I’ll send it to you! More than a thank you, Cheers!&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 04:14:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/custom-report-for-host-capacity-growth/m-p/7249631#M2805</guid>
      <dc:creator>CuongDuong</dc:creator>
      <dc:date>2023-09-29T04:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Report for Host Capacity Growth</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/custom-report-for-host-capacity-growth/m-p/7249632#M2806</link>
      <description>&lt;P&gt;It’s such a great information, thank you so much. I would be grateful if there was a Github sample of this.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 11:34:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/custom-report-for-host-capacity-growth/m-p/7249632#M2806</guid>
      <dc:creator>CuongDuong</dc:creator>
      <dc:date>2023-09-28T11:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Report for Host Capacity Growth</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/custom-report-for-host-capacity-growth/m-p/7249633#M2807</link>
      <description>&lt;P&gt;One approach could be a job automation to snapshot the data in compute_server and add to a custom table say weekly. That table could give you a time series by server, so you could base your custom report on that data.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 08:00:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/custom-report-for-host-capacity-growth/m-p/7249633#M2807</guid>
      <dc:creator>Ollie-Phillips</dc:creator>
      <dc:date>2023-09-28T08:00:15Z</dc:date>
    </item>
  </channel>
</rss>

