Module: check_mk
Branch: master
Commit: 58e2c94cc3f39163bc7ca986ad2555896880bbef
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=58e2c94cc3f391…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Jun 7 11:00:08 2012 +0200
Added notification time infos to notification macros
---
ChangeLog | 4 ++++
check_mk_templates.cfg | 3 +++
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 6d251f1..ddbf849 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,8 @@
1.2.0p1:
+ Core:
+ * Added macros $DATE$, $SHORTDATETIME$ and $LONGDATETIME$' to
+ notification macros
+
Checks & Agents:
* FIX: diskstat: handle output 'No Devices Found' - avoiding exception
diff --git a/check_mk_templates.cfg b/check_mk_templates.cfg
index bd96561..b1879b3 100644
--- a/check_mk_templates.cfg
+++ b/check_mk_templates.cfg
@@ -326,6 +326,9 @@ define command {
NOTIFY_LONGSERVICEOUTPUT='$LONGSERVICEOUTPUT$' \
NOTIFY_SERVICEPERFDATA='$SERVICEPERFDATA$' \
NOTIFY_SERVICECHECKCOMMAND='$SERVICECHECKCOMMAND$' \
+ NOTIFY_DATE='$DATE$' \
+ NOTIFY_SHORTDATETIME='$SHORTDATETIME$' \
+ NOTIFY_LONGDATETIME='$LONGDATETIME$' \
@BINDIR@/check_mk --notify
}