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
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.6.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0b9 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

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