Werk #17058: Fix service discovery for hosts with more than 237 characters

Component Setup
Title Fix service discovery for hosts with more than 237 characters
Date Jun 26, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Werk #16219 limited the length of hostnames to a maximum length of 253 characters. Still, hostnames with a length greater 237 could lead to an error in the service discovery like "[Errno 36] File name too long: ...".

This has been fixed and all service discovery background job directories will be converted on update.

To the list of all Werks