Werk #15765: check_temperature: Fix misleading service details in temperature checks

Komponente Checks & agents
Titel check_temperature: Fix misleading service details in temperature checks
Datum 19.06.2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.0.0p37 2.1.0p30 2.2.0p5 2.3.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

In case the state from the device wasn't OK, thresholds from the device were appended to the service details, e.g. '46 °C, warning (device warn/crit at 56/56 °C)'. This suggests that the temperature value exceeds the threshold, which isn't the case.

To make it clearer, the service details are changed to: '46 °C, State on device: warning' in this case.

Zur Liste aller Werks