7339 FIX Fixed broken mail notifications with Nagios core (1.5.0p14 regression)v1.5.0p15
commit906d844dc6b00953b74957904a0e8d1dd4540b9b
authorLars Michelsen <lm@mathias-kettner.de>
Wed, 17 Apr 2019 07:47:36 +0000 (17 09:47 +0200)
committerLars Michelsen <lm@mathias-kettner.de>
Wed, 17 Apr 2019 07:47:36 +0000 (17 09:47 +0200)
tree43939e2985636d09a67b1eabe77d5541403c181f
parent807d43ffad77aa2cf1d58475cea23aaa0c333cee
7339 FIX Fixed broken mail notifications with Nagios core (1.5.0p14 regression)

Unfortunately, version 1.5.0p14 contained a bug that prevented mail
notifications when using the Nagios core.  According to our knowledge users of
the Microcore are not affected.

The error is displayed as follows in var/log/notify.log:

C+:
2019-04-17 09:15:19 Preparing rule based notifications
2019-04-17 09:15:19 Found 0 user specific rules
2019-04-17 09:15:19 Global rule 'Notify all contacts of a host/service via HTML email'...
2019-04-17 09:15:19  -> matches!
2019-04-17 09:15:19    - adding notification of lm via mail
2019-04-17 09:15:19 Executing 1 notifications:
2019-04-17 09:15:19   * notifying lm via mail, parameters: host_subject, from, service_subject, disable_multiplexing, bulk: no
2019-04-17 09:15:19      executing /omd/sites/stable/share/check_mk/notifications/mail
2019-04-17 09:15:19      Output: Cannot send HTML email: empty destination email address
2019-04-17 09:15:19      Plugin exited with code 2
C-:

Change-Id: Ibc4a11d0ec09b505a5a9dfe30ddd0f1be18afad6
.werks/7339 [new file with mode: 0644]
cmk_base/notify.py