- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Remote Server Management
- >
- Re: Help using ilorest to get system health summar...
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
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
04-27-2023 11:38 PM - last edited on 04-28-2023 08:02 AM by support_s
04-27-2023 11:38 PM - last edited on 04-28-2023 08:02 AM by support_s
Help using ilorest to get system health summary
Hi team, I was using the HPEiLOCmdlets for a long time. I only need the Get-HPEiLOHealthSummary to grab the general overview of the system. Looked like when you logged in to the webinterface of an iLO, only a quick overview. Lately there are a lot of issues between the HPEiLOCmdlets and the actual iLO versions, so I thought to check ilorest. I am able to get some Informations (under Windows and Linux), but it is much more complex than the PowerShell Cmdlet. Can anyone give me some hints or an example how I can grab the same informations like I did with the Get-HPEiLOHealthSummary? Thanks, Christian.
- Tags:
- Prolaint server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2023 12:59 AM - edited 04-28-2023 01:01 AM
04-28-2023 12:59 AM - edited 04-28-2023 01:01 AM
Re: Help using ilorest to get system health summary
Hi @cjs1976 ,
Try doing this steps :
The RESTful Interface Tool is installed.
Configure iLO Settings privilege
- Start the RESTful Interface Tool.
- Enter ilorest.
- Log in to an iLO system:
iLOrest > login iLO host name or IP address -u iLO user name -p iLO password
- Download the Active Health System log for the server you logged into in step 3.
To download the log for the last seven days, enter a command similar to the following:
iLOrest > serverlogs --selectlog=AHS --directorypath=directory path
To download the log for a specified time period, enter a command similar to the following:
iLOrest > serverlogs --selectlog=AHS --directorypath=directory path --customiseAHS="from=YYYY-MM-DD&&to=YYYY-MM-DD"
To download the entire Active Health System log, enter a command similar to the following:
iLOrest > serverlogs --selectlog=AHS --downloadallahs --directorypath=directory path
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
04-28-2023 11:07 PM
04-28-2023 11:07 PM
Re: Help using ilorest to get system health summary
Hi Harshitha_K,
thank you for this solution, but I am searching more in the direction automatic script for our monitoring. The idea is to run a script regulary which checks the iLO health status and in a case of a problem it should create an error. I am pretty sure that I can do this over ilorest, is just that I don't know where to look for the simple health status.
Thanks,
Christian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2023 05:12 AM
05-12-2023 05:12 AM
Re: Help using ilorest to get system health summary
To get a system health summary using ilorest, you can follow these steps:
1. Install ilorest: You can download and install the ilorest tool from the HPE website.
2. Connect to the iLO: Once you have ilorest installed, you can connect to your iLO using the following command: ilorest login <iLO_IP> -u <username> -p <password>
Replace <iLO_IP>, <username>, and <password> with the appropriate values for your iLO.
3. Get the system health summary: Once you are logged in, you can use the following command to get the system health summary: ilorest systemhealthsummary
This command will provide you with an overview of the system health, including the current power state, temperature, fan speed, and more.
4. Logout: Once you have finished using ilorest, you can logout using the following command:ilorest logout
This will disconnect from the iLO.
That's it! You should now have a system health summary using ilorest. Note that ilorest provides a lot more functionality than the HPEiLOCmdlets, so it may take some time to learn all of the commands and options available. However, ilorest is a powerful tool for managing HPE servers, and it is worth investing some time in learning how to use it effectively.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2023 05:40 AM
05-15-2023 05:40 AM
Re: Help using ilorest to get system health summary
Thank you! This works very well with iLO5 but noct with iLO4. Do you also have a trick for iLO4?
Thanks,
Christian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2023 09:19 PM
05-15-2023 09:19 PM
Re: Help using ilorest to get system health summary
ilorest is primarily designed for iLO5 and may not have full compatibility with iLO4. However, for iLO4, you can use the HPEiLOCmdlets to get the system health summary. Here's an example of how you can do that:
1. Install the HPEiLOCmdlets: You can install the HPEiLOCmdlets by following the instructions provided by HPE. Make sure you have the latest version installed.
2. Import the HPEiLOCmdlets module: Open PowerShell and import the HPEiLOCmdlets module using the following command: Import-Module HPEiLOCmdlets
3. Connect to the iLO: Once you have the module imported, you can connect to your iLO using the following command: Connect-HPEiLO -IP <iLO_IP> -Username <username> -Password <password>
Replace <iLO_IP>, <username>, and <password> with the appropriate values for your iLO.
4. Get the system health summary: To get the system health summary, you can use the Get-HPEiLOHealthSummary cmdlet: Get-HPEiLOHealthSummary
This command will provide you with an overview of the system health, including the power state, temperature, fans, power supplies, and more.
5. Disconnect from the iLO: Once you have finished using the HPEiLOCmdlets, you can disconnect from the iLO using the following command: Disconnect-HPEiLO
This will close the connection to the iLO.
Make sure my friend HPEiLOCmdlets may have different requirements and compatibility with different versions of iLO. Make sure you have the latest version of the cmdlets and refer to the HPE documentation for any specific requirements or limitations for iLO4.
If you're encountering issues with the HPEiLOCmdlets and iLO4 compatibility, I recommend reaching out to HPE support for further assistance.