CMK version: 2.1.0p18, Edition: cee
OS version: Ubuntu 20.04 LTS
Hallo Zusammen,
wir haben Distributed Monitoring mit mehreren Remote Instanzen eingerichtet, das lief seither problemlos bis ich gestern alle Remote Instanzen und anschließend die Zentralinstanz von 2.0.0p17 auf 2.1.0p18 geupdated habe.
Seither holt der Spooler keine Benachrichtigungen mehr von den Remoteinstanzen ab, Benachrichtigungen von Checks auf der Zentralinstanz werden unter Setup Notifcations bei der Analyse angezeigt, es wird aber keine Mail ausgelöst.
Scheinbar läuft der nicht mehr:
OMD[MON01]:~$ omd status mknotifyd
mknotifyd: stopped
Overall state: stopped
Log: /omd/sites/MON01/var/log/mknotifyd.log
2022-12-27 16:01:50,531 [20] [cmk.mknotifyd] -----------------------------------------------------------------
2022-12-27 16:01:50,531 [20] [cmk.mknotifyd] Check_MK Notification Spooler version 2.1.0p18 starting
2022-12-27 16:01:50,532 [20] [cmk.mknotifyd] Log verbosity: 0
2022-12-27 16:01:50,535 [20] [cmk.mknotifyd] Daemonized with PID 3948845.
2022-12-27 16:01:50,536 [40] [cmk.mknotifyd] FATAL ERROR:
Traceback (most recent call last):
File "/omd/sites/MON01/lib/python3/cmk/cee/mknotifyd/main.py", line 307, in main
run_notifyd(args, config, paths, start_time)
File "/omd/sites/MON01/lib/python3/cmk/cee/mknotifyd/main.py", line 62, in run_notifyd
connection_manager.initialize_stunnel()
File "/omd/sites/MON01/lib/python3/cmk/cee/mknotifyd/connection_manager.py", line 192, in initialize_stunnel
config: str = create_stunnel_config_from_mknotifyd_config(
File "/omd/sites/MON01/lib/python3/cmk/cee/mknotifyd/connection_manager.py", line 46, in create_stunnel_config_from_mknotif>
if incoming and incoming["encryption"] != "unencrypted":
KeyError: 'encryption'
Sollte eigentlich gefixt sein, ist es aber nicht…
So sieht die Konfig aus:
Das auf Plain-Text umzustellen wie in Mknotifyd on slave site not starting anymore after update to 2.1.0p3 - #12 by athomaidis hat leider nicht geholfen.