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

Component Checks & agents
Title check_temperature: Fix misleading service details in temperature checks
Date Jun 19, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
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.

To the list of all Werks