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
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0p37 2.1.0p30 2.2.0p5 2.3.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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