Werk #17693: Limit length of Hostname to 240 chars

Component Setup
Title Limit length of Hostname to 240 chars
Date Mar 4, 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)
2.3.0p29 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Werk #16219 already limited the maximal Hostname length to 253.

As Checkmk uses the Hostname for various internal files, some suffixes and prefixes to that files lead to problems, especially on deleting such host.

With the new limit of 240 chars you still can delete a host.

To the list of all Werks