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
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p5 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p30 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p37 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

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