Werk #15110: Crash upon empty result of piggyback hostname translation

Component Checks & agents
Title Crash upon empty result of piggyback hostname translation
Date Jan 17, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p20 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

From Checkmk version 2.1 the Check_MK service crashed if the settings in Hostname translation for piggybacked hosts resulted in an empty host name.

The host name '' is now replaced by '_'. This is consistent with other invalid host names (such as '../../bin/pwn'), where the invalid characters are replaced by an underscore.

To the list of all Werks