Werk #17747: plugins: Show unknown state if a kubernetes cronjob has a invalid/unknown state instead of raising an error

Component Checks & agents
Title plugins: Show unknown state if a kubernetes cronjob has a invalid/unknown state instead of raising an error
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 the kubenertes cronjob check it was possible in rare cases to create a situation that was invalid/unknown to the plugin, in which case a unhandled error was raised.

Instead of an error we return a Unknown State for the check now in cases where we encounter this situation.

To the list of all Werks