Werk #17746: Handle expection when no temps are available for temparature trend

Component Checks & agents
Title Handle expection when no temps are available for temparature trend
Date Mar 11, 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)

When using some legacy checks, there is the possibility that not enough values are available for to create a temperature check, which wasn't handled properly and led to an uncaught exception.

This fix handles the exception and returns a UNKWN state.

To the list of all Werks