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
When I compare the results of ipmitool sensor list with the list of sensors in the result from RetrieveSDRRepository(), I see many more sensors returned by ipmitool. They are all "discrete" (binary?) sensors - here is an example:
Presence | 0x0 | discrete | 0x0180| na | na | na | na | na | na
From a printf I added, it looks to me like the filtering happens on this line:
Not currently, as I only needed SDR Type 0x1 (Full Sensor Record), which is defined in 43.1 here. Discrete sensors are likely each represented by an SDR Type 0x2 (Compact Sensor Record), specified in 43.2, though it would be worth confirming with IPMItool's raw output mode before doing any work. SDRRepository would have to become a struct, as it is currently a map of only FSRs. Shouldn't be too tricky to write - less work than implementing FSR. Happy to review a PR!
When I compare the results of
ipmitool sensor list
with the list of sensors in the result fromRetrieveSDRRepository()
, I see many more sensors returned by ipmitool. They are all "discrete" (binary?) sensors - here is an example:From a printf I added, it looks to me like the filtering happens on this line:
bmc/sdr_repository.go
Line 91 in 455e487
Is there any way to list those filtered sensors using this library rather than discarding them?
The text was updated successfully, but these errors were encountered: