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
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.1.0p20 2.2.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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