Werk #6350: Fixed broken checking of unrelated hosts when using manual checks

Component Core & setup
Title Fixed broken checking of unrelated hosts when using manual checks
Date Jul 14, 2018
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.5.0b9 1.6.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

When using the Check_MK Raw Edition it could happen that configuring manual checks for a host broke the check execution of unrelated hosts.

The configuration of the manual check of all hosts was loaded into the context of such an unrelated host. Because a host only loads the check definitions of the checks it needs during checking, those manual check configurations were trying to access unavailable data. This lead to a crash and a "(null)" output shown for the "Check_MK" service.

To the list of all Werks