Werk #4281: Fixed piggyback hosts with spaces in names leading to crashes

Component Core & setup
Title Fixed piggyback hosts with spaces in names leading to crashes
Date Jan 19, 2017
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.8p16 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

It was possible for agent plugins / special agents to create piggyback hosts with spaces in their names which lead to crashes of Check_MK check helpers when trying to check these hosts.

These spaces will now automatically be replaced by underscores to workaround this issue. In case you want to have another replacement logic, you can use the piggyback translation ruleset to override the default behaviour.

To the list of all Werks