Branch: refs/heads/1.6.0
Home:
https://github.com/tribe29/checkmk
Commit: f68e809303fdf610c80f337aae4e2955d8a22d15
https://github.com/tribe29/checkmk/commit/f68e809303fdf610c80f337aae4e2955d…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-09-14 (Mon, 14 Sep 2020)
Changed paths:
A .werks/11491
M cmk_base/nagios_utils.py
Log Message:
-----------
11491 FIX Nagios: Fix broken config reason displaying
This issue is only affecting Checkmk installations that use the Nagios core.
In case a configuration error occurs, the reason for this issue should be displayed
in the console or the GUI like this: "When Validating Nagios configuration...ERROR:
REASON".
However, since release v1.6.0p4 the output of the config validation was not shown to the
user.
Instead this text was shown instead: "Validating Nagios configuration...ERROR:
Configuration Error: local variable 'cmk' referenced before assignment"
Change-Id: I3e870684d1c7ce7c6e45f4b4ee370a436d02b9f2