Friday, October 14, 2022

Monitor HPe iLO with PowerShell

I have a 19" rack with some servers inside - see figure 1.

Figure 1. My server rack.

I wanted to monitor the temperature inside the rack and the energy consumption of the servers. I am already running Domoticz as my home automation system so I decided to use PowerShell to get data about the servers state. I found the PowerShell-ProLiant-SDK on Github.

Below you can find my code and the outcome in Domoticz (see Figure 2, 3, 4).




 
'
Figure 2. Energy tile in Domoticz for my HPe server. The data comes from iLo.ps1.


Figure 3. Historical consumption data in Domoticz for my HPe server



Figure 4. Temperature in my rack

No comments:

Post a Comment

Monitor HPe iLO with PowerShell

I have a 19" rack with some servers inside - see figure 1. Figure 1. My server rack. I wanted to monitor the temperature inside the rac...