commit | 778f65973b544fe04520fe03d5613f333fc4d1dd | [log] [tgz] |
---|---|---|
author | Konstantin Aladyshev <aladyshev22@gmail.com> | Tue Nov 02 11:28:25 2021 +0300 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Thu Dec 09 17:25:05 2021 +0000 |
tree | 105e9599b4d28381785558e5fedf90322797b841 | |
parent | 69e3cd408c5c0d64b44e0d23ed61d68dd9f94a53 [diff] |
Add support for setting threshold comparison status Currently threshold comparison status for sensor is always reported as "ok" even if the actual value is out of threshold bounds. Add support for setting threshold comparison status based on the boolean flags from the "Sensor.Threshold.Critical"/ "Sensor.Threshold.Warning" interfaces. Example: Before: ``` $ ipmitool sensor get 5_DUAL Locating sensor record... Sensor ID : 5_DUAL (0x43) Entity ID : 7.0 Sensor Type (Threshold) : Voltage Sensor Reading : 3.570 (+/- 0) Volts Status : ok Lower Non-Recoverable : na Lower Critical : 4.500 Lower Non-Critical : na Upper Non-Critical : na Upper Critical : 5.490 Upper Non-Recoverable : na Positive Hysteresis : Unspecified Negative Hysteresis : Unspecified ``` After: ``` $ ipmitool sensor get 5_DUAL Sensor ID : 5_DUAL (0x43) Entity ID : 7.0 Sensor Type (Threshold) : Voltage Sensor Reading : 3.570 (+/- 0) Volts Status : Lower Critical Lower Non-Recoverable : na Lower Critical : 4.500 Lower Non-Critical : na Upper Non-Critical : na Upper Critical : 5.490 Upper Non-Recoverable : na Positive Hysteresis : Unspecified Negative Hysteresis : Unspecified ``` Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I8d6acc15507050981c8ac8a2915f466019bac613
To build this package, do the following steps:
1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make
To clean the repository run ./bootstrap.sh clean
.