Fehlermeldung: n fehlgeschlagene Benachrichtigungen

Hallo zusammen,

seit dem Update auf 2.4.0p26 (Community Edition) erhalte ich immer wieder Fehlermldungen für Benachrichtigungen.

Im Detail sieht das dann so aus:

KeyError: ‘PARAMETER_NOTIFICATIONS_WITH_GRAPHS’ Traceback (most recent call last): – File “/omd/sites/monitoring/share/check_mk/notifications/mail”, line 12, in – mail.main() – File “/omd/sites/monitoring/lib/python3/cmk/notification_plugins/mail.py”, line 784, in main – BulkEmailContent(utils.read_bulk_contexts) – File “/omd/sites/monitoring/lib/python3/cmk/notification_plugins/mail.py”, line 651, in _init_ – txt, html, att = construct_content( – ^^^^^^^^^^^^^^^^^^ – File “/omd/sites/monitoring/lib/python3/cmk/notification_plugins/mail.py”, line 466, in construct_content – notifications_with_graphs = context[“PARAMETER_NOTIFICATIONS_WITH_GRAPHS”] – ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ – KeyError: 'PARAMETER_NOTIFICATIONS_WITH_GRAPHS’H

Hat jemand ne Idee?

Danke.

Hi @NorbertKoch-Apurano,

es sieht so aus, als wenn ein Parameter beim Updaten nicht korrekt migriert wurde.

Schau am besten mal hier nach und suche nach dem Begriff graph

Setup -> Events -> Notifications -> Parameters for notification methods -> Parameters for HTML Email

Ggf. ist dort fehlerhafter Eintrag oder das Feld ist unerwartet leer.

Grüße,
Petra

1 Like

will be fixed with werk #19764 in 2.4.0p28 (happens only on user notification rules)

I can’t confirm that this isue is fixed.
I updatet the system to 25.0 and I still get those messages.

Hi Norbert, der Fix hat es wohl nicht mehr in die 2.5.0 geschafft, ist aber für die 2.5.0p1 angekündigt.

2 Likes