Werk #11895: omd_info: only create host label 'cmk/check_mk_server:yes' if sites are present

Komponente Checks und Agenten
Titel omd_info: only create host label 'cmk/check_mk_server:yes' if sites are present
Datum 20.01.2021
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 2.1.0i1 2.0.0b5 1.6.0p21
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

Previously, the host label 'cmk/check_mk_server:yes' was set whenever `omd` was in the path. This a bit too general. We now only set the label, if at least one site is present.

Zur Liste aller Werks