Werk #13864: Host registration: Enable on sites with disabled Setup & check site name

Component Setup
Title Host registration: Enable on sites with disabled Setup & check site name
Date Apr 13, 2022
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.2.0i1 2.1.0b6
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

The host registration via the cmk-agent-ctl command failed for sites with disabled Setup.

Furthermore, upon registration, we now check if the site where the host is registering is also the site on which it is monitored (only relevant in distributed setups). If not, the registration fails.

Finally, upon registration we also ensure that the host is not a cluster host, since cluster hosts have no direct physical or virtual counterpart which needs to be registered.

To the list of all Werks