Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 8e3b2ecafbe480393dcbbc781ea0ca5dc34ccc54
https://github.com/tribe29/checkmk/commit/8e3b2ecafbe480393dcbbc781ea0ca5dc…
Author: Tom Baerwinkel <tom.baerwinkel(a)tribe29.com>
Date: 2019-12-09 (Mon, 09 Dec 2019)
Changed paths:
M cmk_base/modes/check_mk.py
Log Message:
-----------
don't load checks for "cmk --notify" and "cmk --scan-parents"
The commands previously loaded all checks which took about
0.5-1.0s on a new site. This was needed in old Checkmk versions
because any variables defined e.g. in ~/etc/check_mk/main.mk
were validated when cmk_base.config.load was executed. This
validation was made optional with the functions
cmk_base.config.all_checks_loaded and cmk_base.config.any_checks_loaded
in previous commits so that this limitation no longer applies.
CMK-2238
Change-Id: I6cd16982e472fbcde97f4de8e4d173ffad930be7