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

Component Notifications
Title Fix "Data: b''" in notification result of event console bulk notifications
Date Aug 30, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
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.

To the list of all Werks