Werk #11491: Nagios: Fix broken config reason displaying

Komponente Core & setup
Titel Nagios: Fix broken config reason displaying
Datum 14.09.2020
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 1.6.0p18
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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"

Zur Liste aller Werks