Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

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

Component Livestatus
Title Do not require a "hostname|" prefix when querying services columns in the host table.
Date Dec 21, 2016
Level Trivial Change
Class New Feature
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.4.0b1 Checkmk Pro, Checkmk Ultimate MT

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.

To the list of all Werks