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 Editon Checkmk Raw (CRE)
Checkmk Version 2.2.0i1 2.1.0p20
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