ipmitool dcmi power reading
rajil opened this issue · 2 comments
I couldnt find template for the power reading. For example ipmitool can be used as follows:
# ipmitool dcmi power reading
Instantaneous power reading: 197 Watts
Minimum during sampling period: 175 Watts
Maximum during sampling period: 242 Watts
Average power reading over sample period: 190 Watts
IPMI timestamp: Sun Mar 6 15:13:42 2022
Sampling period: 00123893 Seconds.
Power reading state is: activated
Is there a way to get this information from your templates?
We currently use ipmi-sensors
with the outofband LAN (IPMI 1.5) driver:
So, unless your stack can do DCMI over LAN (using the IPMI 1.5 protocol) it won't work out of the box. I'm not sure if that exists though.
The easiest way to check is with ipmi-sensors
:
# hostname/ip of ipmi
ipmiHost=""
# user
ipmiUser=""
# password
ipmiPassword=""
# `all` or something from `ipmi-sensors --list-sensor-types`
ipmiSensorTypes="all"
ipmi-sensors --driver-type=LAN \
--hostname="${ipmiHost}" \
--username="${ipmiUser}" \
--password="${ipmiPassword}" \
--privilege-level=USER \
--sensor-types="${ipmiSensorTypes}" \
--output-sensor-thresholds \
--ignore-not-available-sensors \
--comma-separated-output
If the output contains values for the dcmi power reading
sensors, then creating a template might be doable with the current sensor discovery tooling.
Is DCMI an Intel thing or do SuperMicro IPMIs also support it?
It is a feature of Supermicro motherboard. Unfortunately, the dcmi power reading is not in the ipmi-sensors output for Supermicro X10DriT board.