Werk #8674: Do not require a 'hostname|' prefix when querying services columns in the host table.

KomponenteLivestatus
TitelDo not require a "hostname|" prefix when querying services columns in the host table.
Datum2016-12-21 15:18:36
Checkmk EditionCheckmk Enterprise Edition (CEE)
Checkmk Version1.4.0b1
LevelTrivial Change
KlasseNew Feature
KompatibilitätKompatibel - benötigt kein manuelles Eingreifen

While the requirement makes sense for the servicegroups table (there can be multiple hosts with the same service), it is actually harmful when querying the host table: One can't formulate queries like "give me all hosts which don't have service FOO".

To keep backwards compatibility *and* enabling such queries, the "hostname|" prefix is optional for those columns in the host table now.