Module: check_mk
Branch: master
Commit: 28befab7ab9f9551697bb9641750e61ea25fa345
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=28befab7ab9f95…
Author: Tom Baerwinkel <tb(a)mathias-kettner.de>
Date: Tue Jul 25 13:30:40 2017 +0200
4812 FIX Add missing Acknowledge author to host notifications
Change-Id: I94d2108c955ac7dd73382b7b7277f63a83d74d4a
---
.werks/4812 | 11 +++++++++++
notifications/mail | 4 ++--
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/.werks/4812 b/.werks/4812
new file mode 100644
index 0000000..1895339
--- /dev/null
+++ b/.werks/4812
@@ -0,0 +1,11 @@
+Title: Add missing Acknowledge author to host notifications
+Level: 1
+Component: notifications
+Compatible: compat
+Edition: cre
+Version: 1.5.0i1
+Date: 1500982341
+Class: fix
+
+Due to an error in the notification script no Acknowledge author
+was shown in notification emails.
diff --git a/notifications/mail b/notifications/mail
index f51922e..d2b62ae 100755
--- a/notifications/mail
+++ b/notifications/mail
@@ -334,8 +334,8 @@ body_elements = [
"$HOSTOUTPUT_HTML$",),
( "ack_author", "host", False, "normal",
"Acknowledge Author",
- "$HOSTACKAUTHORNAME$",
- "$HOSTACKAUTHORNAME$",),
+ "$HOSTACKAUTHOR$",
+ "$HOSTACKAUTHOR$",),
( "ack_comment", "host", False, "normal",
"Acknowledge Comment",
"$HOSTACKCOMMENT$",