Werk #14745: Fix "Data: b''" in notification result of event console bulk notifications

Komponente Notifications
Titel Fix "Data: b''" in notification result of event console bulk notifications
Datum 30.08.2022
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p11 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p29 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The event console can send notifications with the option "Send monitoring notification" in an event console rule enabled.

If such rule matched and a notification rule with bulk enabled matched that notification, the notification result could contain, in addition to successful processing, the entry "Data: b''". This happend if no graph could be found for the host or service of the notification.

This problem exists at least since version 1.6.

Also a traceback with multiple exceptions was shown in ~/var/log/web.log.

Zur Liste aller Werks