Werk #19927: DCD connection names are now validated as identifiers on creation
| Component | Dynamic host configuration | ||||||
| Title | DCD connection names are now validated as identifiers on creation | ||||||
| Date | May 21, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
Previously, DCD connections could be created with names containing characters
not allowed in identifiers — such as dots (e.g. test-vcenter.test-gmbh.com).
Hosts managed by such a connection could not be edited afterwards, showing
this error:
An identifier must only consist of letters, digits, dash and underscore and it must start with a letter or underscore.
DCD connection names are now validated on creation. Names must only consist of letters, digits, dashes, and underscores, and must start with a letter or underscore.
If you have existing DCD connections with invalid names saved in 2.4,
cmk-update-config will warn you about them during the update process.
The update itself will not be blocked, but you will need to manually rename
the affected connections afterwards. You can also check for invalid names
proactively at any time by running cmk-validate-config.