Werk #8672: Fixed crash of monitoring core with duplicate hosts

Komponentecmc
TitelFixed crash of monitoring core with duplicate hosts
Datum2016-12-07 10:24:00
Checkmk EditionCheckmk Enterprise Edition (CEE)
Checkmk Version1.4.0i3,1.2.8p15
LevelTrivial Change
KlasseBug Fix
KompatibilitätKompatibel - benötigt kein manuelles Eingreifen

When host names were not unique, the Check_MK micro core crashed when the "hostgroups" or "servicegroups" table was queried via Livestatus. This has been fixed now.

Note that such a configuration is invalid, but due to another bug (in cmk), it was possible to generate it nevertheless.