Werk #18130: Fix deletion of hosts with hostname "."

Component Setup
Title Fix deletion of hosts with hostname "."
Date Jul 29, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0p45 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

When upgrading to 2.3.0, the update process will warn you about invalid hostnames present in your configuration. These hostnames must be removed before you can upgrade to 2.3.0.

In the case of hostnames "." and "..", the deletion process would crash.

With this werk, we fix the deletion of these hostnames to allow the update process to complete successfully.

To the list of all Werks