The Checkmk Conference #11 is happening – live on May 20-21! Watch now

Werk #11491: Nagios: Fix broken config reason displaying

Component Core & setup
Title Nagios: Fix broken config reason displaying
Date Sep 14, 2020
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.6.0p18 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

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"

To the list of all Werks