- Community Home
- >
- Software
- >
- HPE Morpheus Software
- >
- HPE Morpheus Enterprise
- >
- Custom Report for Host Capacity Growth
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2023 12:26 AM
09-28-2023 12:26 AM
Custom Report for Host Capacity Growth
Hi experts, Morpheus support teams,
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)
After reading about the Custom Report document and accessing my database, I found the cumpute_server table that can provide the necessary data fields about CPU, RAM, and Storage usage, but there is only the time field last_updated is not enough to track capacity growth over certain time periods (1 month or 1 year). I believe this requirement is possible, right?
It would be very grateful to see your help! Thank you!
- Tags:
- reports
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2023 01:22 PM
09-28-2023 01:22 PM
Re: Custom Report for Host Capacity Growth
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:
- 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)
- That task is run as a scheduled job, daily, weekly or whatever is needed.
- 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.
- 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
I hope that can help you progress your requirement.
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2023 09:14 PM
09-28-2023 09:14 PM
Re: Custom Report for Host Capacity Growth
Thank @Ollie_Phillips 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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2023 04:34 AM
09-28-2023 04:34 AM
Re: Custom Report for Host Capacity Growth
It’s such a great information, thank you so much. I would be grateful if there was a Github sample of this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2023 01:00 AM
09-28-2023 01:00 AM
Re: Custom Report for Host Capacity Growth
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.
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]