Werk #14422: ipmi, ipmi_sensors: Fix user-configured status overrides
|Component||Checks & agents|
|Title||<tt>ipmi</tt>, <tt>ipmi_sensors</tt>: Fix user-configured status overrides|
|Date||Jun 30, 2022|
|Checkmk Editon||Checkmk Raw (CRE)|
|Checkmk Version||2.2.0i1 2.0.0p27 2.1.0p5|
|Compatibility||Compatible - no manual interaction needed|
The check plugins ipmi and ipmi_sensors both monitor IPMI sensors. They are user- configurable via the ruleset "IPMI sensors". There, users can define custom monitoring states based on the status text reported by the sensors (option "Set states of IPMI sensor status texts").
Before this werk, these settings were evaluated and a corresponding service output was created, however, this output did not override the default behaviour of these check plugins. For example, the sensor status text "non-critical" results in WARNING by default. Users could configure a rule to instead map "non-critical" to OK, however, the overall service state would still be WARNING in this case.
With this werk, users can fully override the default behaviour and set e.g. "non-critical" to OK.