Werk #3150: fixed helpers failing to start and high cpu load when an unparsable local check is installed

Component Checks & agents
Title fixed helpers failing to start and high cpu load when an unparsable local check is installed
Date Jun 30, 2016
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.4.0i1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.4.0i1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.4.0i1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.4.0i1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.4.0i1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.4.0i1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.4.0i1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.4.0i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.8p5 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

When python fails to parse a check file (local or shipped), the check_mk helpers would produce an erro message and exit. check_mk would then restart the helper, repeating the process infinitely which left check_mk in a non-working state, causing high cpu load and quickly growing the cmc.log.

This only occurs when installing syntactically broken checks so most users shouldn't be affected.

To the list of all Werks