Closed Kostr closed 3 years ago
https://gerrit.openbmc-project.xyz/c/openbmc/dbus-sensors/+/41389
I believe resolves this, please comment in the context of that review. Because this isn't explicitly a bug I'm going to close this for now and let it resolve through gerrit. Once that patchset is merged, if you think there are bugs with the implementation, feel free to reopen.
I have a temperature sensor with several
temp_*
files. To export all of them I use severalNameX
keys in my EM *.json file:But how to set thresholds for them? When I use
it only sets thresholds for the first sensor. This is example output from the ipmitool sensor:
From the code inspection of https://github.com/openbmc/dbus-sensors/blob/7ea918f22b7df400dd11f909342ac4d256536000/src/HwmonTempMain.cpp#L248 it seems like for the keys Name1,Name2,... the thresholds are currenly set to be empty
std::vector<thresholds::Threshold>()
. So there is no way to set them with the dbus-sensors app. Am I correct?