Module: check_mk
Branch: master
Commit: fdeddedbbc21fa289d14ade4b14f0fe6e34e83ab
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=fdeddedbbc21fa…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Jan 24 15:55:08 2014 +0100
New notification variables NOTIFY_LASTSERVICEOK and NOTIFY_LASTHOSTUP
These two variables have been added to <tt>check_mk_templates.cfg</tt>.
---
.werks/684 | 8 ++++++++
ChangeLog | 1 +
check_mk_templates.cfg | 2 ++
3 files changed, 11 insertions(+)
diff --git a/.werks/684 b/.werks/684
new file mode 100644
index 0000000..c333d47
--- /dev/null
+++ b/.werks/684
@@ -0,0 +1,8 @@
+Title: New notification variables NOTIFY_LASTSERVICEOK and NOTIFY_LASTHOSTUP
+Level: 1
+Component: notifications
+Version: 1.2.5i1
+Date: 1390575275
+Class: feature
+
+These two variables have been added to <tt>check_mk_templates.cfg</tt>.
diff --git a/ChangeLog b/ChangeLog
index 1da06da..a458878 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -229,6 +229,7 @@
Notifications:
* 0362 sms: now searching PATH for sendsms and smssend commands...
+ * 0684 New notification variables NOTIFY_LASTSERVICEOK and NOTIFY_LASTHOSTUP...
* 0108 FIX: Prevent service notification on host alerts...
* 0058 FIX: Fix email notifications containing non-ASCII characters in some
situtations...
diff --git a/check_mk_templates.cfg b/check_mk_templates.cfg
index 88f1680..a6f04d7 100644
--- a/check_mk_templates.cfg
+++ b/check_mk_templates.cfg
@@ -366,6 +366,7 @@ define command {
NOTIFY_HOSTADDRESS='$HOSTADDRESS$' \
NOTIFY_LASTHOSTSTATE='$LASTHOSTSTATE$' \
NOTIFY_LASTHOSTSTATECHANGE='$LASTHOSTSTATECHANGE$' \
+ NOTIFY_LASTHOSTUP='$LASTHOSTUP$' \
NOTIFY_HOSTSTATE='$HOSTSTATE$' \
NOTIFY_HOSTSTATEID='$HOSTSTATEID$' \
NOTIFY_HOSTCHECKCOMMAND='$HOSTCHECKCOMMAND$' \
@@ -375,6 +376,7 @@ define command {
NOTIFY_SERVICEDESC='$SERVICEDESC$' \
NOTIFY_LASTSERVICESTATE='$LASTSERVICESTATE$' \
NOTIFY_LASTSERVICESTATECHANGE='$LASTSERVICESTATECHANGE$' \
+ NOTIFY_LASTSERVICEOK='$LASTSERVICEOK$' \
NOTIFY_SERVICESTATE='$SERVICESTATE$' \
NOTIFY_SERVICESTATEID='$SERVICESTATEID$' \
NOTIFY_SERVICEOUTPUT='$SERVICEOUTPUT$' \