Werk #17892: Avoid error in "Siemens PLC (SPS)" rule when updating to Checkmk 2.4

Component Checks & agents
Title Avoid error in "Siemens PLC (SPS)" rule when updating to Checkmk 2.4
Date Apr 7, 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.0b5 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Checkmk 2.4 did not allow for empty values in the Ident of the value field in the Siemens PLC (SPS) rule, while this was still possible in Checkmk 2.3. In case of an empty value, the update process failed with

-| WARNING: Invalid rule configuration detected
-| Ruleset: special_agents:siemens_plc
-| Title: Siemens PLC (SPS)
-| Folder: ...
-| Rule nr: ...
-| Exception: An identifier must only consist of letters, digits, dash and underscore and it must start with a letter or underscore.
-|
-| You can abort the update process (A) or continue (c) the update. Abort update? [A/c]

As of this werk, empty values are accepted also in Checkmk 2.4.

To the list of all Werks