-
Notifications
You must be signed in to change notification settings - Fork 475
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
15354 FIX Remove "Encrypt notification daemon communication" check fr…
…om "Analyze Configuration" in Checkmk Raw "Encrypt notification daemon communication" is a Checkmk Enterprise feature, so this check needs to be omitted in Checkmk Raw. It previously failed with the following traceback: ``` error executing configuration test ACTestMknotifydCommunicationEncrypted Traceback (most recent call last): File "/omd/sites/site/lib/python3/cmk/gui/watolib/analyze_configuration.py", line 157, in run results = list(self.execute()) ^^^^^^^^^^^^^^^^^^^^ File "/omd/sites/site/lib/python3/cmk/gui/wato/_ac_tests.py", line 527, in execute config = self._get_effective_global_setting("notification_spooler_config") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/omd/sites/site/lib/python3/cmk/gui/watolib/analyze_configuration.py", line 204, in _get_effective_global_setting return get_effective_global_setting( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/omd/sites/site/lib/python3/cmk/gui/watolib/sites.py", line 762, in get_effective_global_setting return default_values[varname] ~~~~~~~~~~~~~~^^^^^^^^^ KeyError: 'notification_spooler_config' ``` CMK-21599 Change-Id: I359a94ac566c1361e5bfd66a5c31d88353222227
- Loading branch information
1 parent
e80a745
commit b0ac976
Showing
2 changed files
with
35 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[//]: # (werk v2) | ||
# Remove "Encrypt notification daemon communication" check from "Analyze Configuration" in Checkmk Raw | ||
|
||
key | value | ||
---------- | --- | ||
date | 2025-02-11T09:59:14+00:00 | ||
version | 2.5.0b1 | ||
class | fix | ||
edition | cre | ||
component | wato | ||
level | 1 | ||
compatible | yes | ||
|
||
"Encrypt notification daemon communication" is a Checkmk Enterprise feature, | ||
so this check needs to be omitted in Checkmk Raw. | ||
|
||
It previously failed with the following traceback: | ||
|
||
``` | ||
error executing configuration test ACTestMknotifydCommunicationEncrypted | ||
Traceback (most recent call last): | ||
File "/omd/sites/site/lib/python3/cmk/gui/watolib/analyze_configuration.py", line 157, in run | ||
results = list(self.execute()) | ||
^^^^^^^^^^^^^^^^^^^^ | ||
File "/omd/sites/site/lib/python3/cmk/gui/wato/_ac_tests.py", line 527, in execute | ||
config = self._get_effective_global_setting("notification_spooler_config") | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
File "/omd/sites/site/lib/python3/cmk/gui/watolib/analyze_configuration.py", line 204, in _get_effective_global_setting | ||
return get_effective_global_setting( | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
File "/omd/sites/site/lib/python3/cmk/gui/watolib/sites.py", line 762, in get_effective_global_setting | ||
return default_values[varname] | ||
~~~~~~~~~~~~~~^^^^^^^^^ | ||
KeyError: 'notification_spooler_config' | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters