Werk #17283: check_cert: remove defaults for server certificate validity

Component Checks & agents
Title check_cert: remove defaults for server certificate validity
Date Feb 26, 2025
Level Trivial Change
Class New Feature
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 no levels for the server certificate validity have been passed to check_cert the active check used some default levels which caused some unexpected behaviour.

Now, without any levels being passed, it will still show the a result but without a levels computation.

To the list of all Werks