Werk #1875: Fixed possible exceptions of CMC Check_MK helpers when using some custom checks

Komponente Checks & agents
Titel Fixed possible exceptions of CMC Check_MK helpers when using some custom checks
Datum 22.01.2015
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
1.2.7i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

When using the CMC together with some custom checks which register variables in the global context which can not be written out with repr() and read with eval() like for example python module references or function pointers, all Check_MK workers stopped working and were restarting in an endless loop.

A verification has been added to prevent those variable from being written to the Check_MK check helper config var/check_mk/core/config.mk.

Zur Liste aller Werks