badfish icon indicating copy to clipboard operation
badfish copied to clipboard

[RFE] Power consumption

Open grafuls opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe. As a user I would want to get the power consumption a server has in a fixed period of time

What System / IPMI Platform? ALL

Describe the Possible Solution Add the ability to read and potentially reset a power consumption metric coming from Redfish. There are several endpoints where we could potentially find this data but haven't checked them all.

/redfish/v1/Chassis/System.Embedded.1/Power#/PowerSupplies/0 /redfish/v1/Chassis/System.Embedded.1/Power#/Voltages/SystemBoardDIMMPG /redfish/v1/Chassis/System.Embedded.1/Power#/Voltages/SystemBoardNDCPG /redfish/v1/Chassis/System.Embedded.1/Power#/Voltages/CPU1MEM012VDDQPG /redfish/v1/Chassis/System.Embedded.1/Power#/Voltages/1 /redfish/v1/Dell/Chassis/System.Embedded.1/Power/PowerSupplies/DellPowerSupplyView/PSU.Slot.2 /redfish/v1/Dell/Chassis/System.Embedded.1/Power/PowerSupplies/DellPowerSupply/PSU.Slot.2 /redfish/v1/Chassis/System.Embedded.1/Power/Oem/Dell/DellPowerSupplyInventory/PSU.Slot.1 /redfish/v1/Chassis/System.Embedded.1/Power#/PowerControl/0 /redfish/v1/Chassis/1/Power#/Voltages/0

grafuls avatar Jun 29 '22 14:06 grafuls

@grafuls what call(s) do we need iDRAC enterprise for on this stuff? @QuantumPosix what does the equivalent SuperMicro support look like here?

sadsfae avatar Aug 26 '22 14:08 sadsfae

So far I have the following endpoints: Dell /redfish/v1/Chassis/System.Embedded.1/Power#/PowerControl/0 PowerConsumedWatts Supermicro /redfish/v1/Chassis/1/Power#/PowerControl/0 PowerConsumedWatts

others we may be interested here under the respective endpoint

"AverageConsumedWatts"
"MaxConsumedWatts"
"MinConsumedWatts"

Also, I have not found there to be a reset functionality in the API but it does exist in RACADM.

QuantumPosix avatar Oct 03 '22 17:10 QuantumPosix