- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Remote Server Management
- >
- Interval of measurement of power on the iLO 4
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
Discussions
Discussions
Forums
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
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
тАО02-27-2024 05:49 AM
тАО02-27-2024 05:49 AM
Interval of measurement of power on the iLO 4
Hello,
I've used the Python "requests" library to interact with the iLO 4 (V2.76) and have successfully read PowerConsumedWatts. The full JSON response is shown at the end of this message.
The measurement window seems to be awfully long - 20 minutes by default, and no less than 1 minute, since "PowerControl[{item}].PowerMetrics.IntervalInMin " is an integer.
Can this be shortened to 1 second?
###JSON response
{'@odata.context': '/redfish/v1/$metadata#Chassis/Members/1/Power$entity', '@odata.id': '/redfish/v1/Chassis/1/Power/', '@odata.type': '#Power.1.0.1.Power', 'Id': 'Power', 'Name': 'PowerMetrics', 'Oem': {'Hp': {'@odata.type': '#HpPowerMetricsExt.1.2.0.HpPowerMetricsExt', 'SNMPPowerThresholdAlert': {'DurationInMin': 0, 'ThresholdWatts': 0, 'Trigger': 'Disabled'}, 'Type': 'HpPowerMetricsExt.1.2.0', 'links': {'FastPowerMeter': {'href': '/redfish/v1/Chassis/1/Power/FastPowerMeter/'}, 'FederatedGroupCapping': {'href': '/redfish/v1/Chassis/1/Power/FederatedGroupCapping/'}, 'PowerMeter': {'href': '/redfish/v1/Chassis/1/Power/PowerMeter/'}}}}, 'PowerAllocatedWatts': 135, 'PowerAvailableWatts': 365, 'PowerCapacityWatts': 500, 'PowerConsumedWatts': 53, 'PowerControl': [{'PowerAllocatedWatts': 135, 'PowerAvailableWatts': 365, 'PowerCapacityWatts': 500, 'PowerConsumedWatts': 53, 'PowerLimit': {'LimitInWatts': None}, 'PowerMetrics': {'AverageConsumedWatts': 52, 'IntervalInMin': 20, 'MaxConsumedWatts': 56, 'MinConsumedWatts': 52}, 'PowerRequestedWatts': 135}], 'PowerLimit': {'LimitInWatts': None}, 'PowerMetrics': {'AverageConsumedWatts': 52, 'IntervalInMin': 20, 'MaxConsumedWatts': 56, 'MinConsumedWatts': 52}, 'PowerRequestedWatts': 135, 'Type': 'PowerMetrics.0.11.0', 'links': {'self': {'href': '/redfish/v1/Chassis/1/Power/'}}}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2024 10:43 PM
тАО02-28-2024 10:43 PM
Re: Interval of measurement of power on the iLO 4
Hello,
Please review the "RESTful Interface Tool 1.50 User Guide" and see if it helps.
Regards,
Views expressed herein are my personal opinion and are not the views of HPE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-29-2024 10:11 AM - last edited on тАО02-29-2024 09:23 PM by Sunitha_Mod
тАО02-29-2024 10:11 AM - last edited on тАО02-29-2024 09:23 PM by Sunitha_Mod
Re: Interval of measurement of power on the iLO 4
@TVVJ Thank you, but no, it doesn't.
The HP RESTful API Data Model Reference for iLO 4 would be a more likely candidate, but it doesn't help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-29-2024 11:16 AM
тАО02-29-2024 11:16 AM
Re: Interval of measurement of power on the iLO 4
There is a resource at /redfish/v1/Chassis/1/Power/FastPowerMeter, of type HPPowerMeter.1.0.0.HPPowerMeter.
It shows 120 samples, which, if they are taken over the 20 minute interval, would equate to a 10-second interval between samples.
Indeed, the time stamp shows roughly 10 seconds between samples.
That's much better, but this resource is undocumented in the Data Model Reference.
Moreover, the sampling rates offered all seem to be fixed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-29-2024 01:36 PM
тАО02-29-2024 01:36 PM
Re: Interval of measurement of power on the iLO 4
Correction to previous message: type should have been HPPowerMeter.1.0.0.
Furthermore: the member that contains the data is "PowerDetail".
It contains 120 samples, formatted as follows:
{'AmbTemp': 20, 'Average': 51, 'Cap': 0, 'CpuAvgFreq': 0, 'CpuCapLim': 100, 'CpuMax': 0, 'CpuPwrSavLim': 100, 'CpuUtil': 0, 'Minimum': 51, 'Peak': 55, 'PrMode': 'dyn', 'PunCap': False, 'Time': '2024-02-29T21:05:49Z', 'UnachCap': False}
In the 10 seconds preceding 21:05:49, the average power was 51W.