You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The TL;DR is that Sensor Reading doesn't appear to be implemented, or I'm using it wrong. The rest of this issue is just explanation, but I think the real problem is that I was confusing Sensor Reading with Nominal Reading. Currently, Sensor Reading is hardcoded to zero, and I think this is the value I really want here. Are there any plans to implement this? If not, I'm happy to give it a shot and contribute a PR, any pointers would be appreciated.
I've been using this to access IPMI on Dell M610 blade servers in this project, specifically here. One thing I've noticed is that result of sdr.Full.ConvertReading(sdr.Full.NominalReadingRaw) never changes, and the results of running the equivalent ipmitool command produce different output. For example:
The SDR record itself does not store current reading value for sensor. It can be separated get by IPMI Command GetSensorReading.
But the value returned by GetSensorReading is a raw value which means it's not aligned with Sensor Unit, so it needs to be converted.
After some thought, I added two extra fields SensorValue and SensorStatus to SDRFull and SDRCompact. SensorValue has already been converted. It can be used directly with SensorUnit.
Hi there, and thanks for making this package!
The TL;DR is that
Sensor Reading
doesn't appear to be implemented, or I'm using it wrong. The rest of this issue is just explanation, but I think the real problem is that I was confusingSensor Reading
withNominal Reading
. Currently, Sensor Reading is hardcoded to zero, and I think this is the value I really want here. Are there any plans to implement this? If not, I'm happy to give it a shot and contribute a PR, any pointers would be appreciated.I've been using this to access IPMI on Dell M610 blade servers in this project, specifically here. One thing I've noticed is that result of
sdr.Full.ConvertReading(sdr.Full.NominalReadingRaw)
never changes, and the results of running the equivalentipmitool
command produce different output. For example:ipmitool -I lanplus -H <ip> -U <user> -P <pass> sensor get 'Ambient Temp'
produces:A (hopefully) equivalent invocation in Go:
This produces:
The text was updated successfully, but these errors were encountered: