Werk #17048: datapower_temp: Fix 'ValueError (could not convert string to float '')

Component Checks & agents
Title datapower_temp: Fix 'ValueError (could not convert string to float '')
Date Mar 5, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p29 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p41
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

When either 'dpStatusEnvironmentalSensorsUpperNonCriticalThreshold' or 'dpStatusEnvironmentalSensorsUpperCriticalThreshold' was not present in the walk, it caused the check to crash. This has now been fixed. If any of the values is missing, they will be ignored.

To the list of all Werks