Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 651e7523e2d3e73994dea9e00acf0d353954a8ad
https://github.com/tribe29/checkmk/commit/651e7523e2d3e73994dea9e00acf0d353…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-09-14 (Mon, 14 Sep 2020)
Changed paths:
M cmk/base/core_config.py
M cmk/base/nagios_utils.py
Log Message:
-----------
Fix Nagios core config creation in some cases
When the automatically created nagios.cfg in tmpfs is not available,
because the core was just switched or the tmpfs is not mounted, the
Nagios core config creation failed since a recent change, because
do_check_nagiosconfig() is now called in more situations, were it
simply can not succeed. Skip calling it in case the nagios.cfg is
not available
Change-Id: Id075de284c116293e2401f4fd920a1ac92bd268a