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

Komponente Setup
Titel Host registration: Enable on sites with disabled Setup & check site name
Datum 13.04.2022
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.1.0b6 2.2.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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.

Zur Liste aller Werks