Module: check_mk
Branch: master
Commit: 0913ec6047adc430805df847efb7a49568c8faca
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0913ec6047adc4…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Dec 3 18:05:33 2012 +0100
Added HOSTTAGS to notification macros which contains all Check_MK-Tags separated by
spaces
---
ChangeLog | 2 ++
check_mk_templates.cfg | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 3f2d44b..fe97010 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@
Core:
* Better exception handling when executing "Check_MK"-Check. Printing
python
exception to status output and traceback to long output now.
+ * Added HOSTTAGS to notification macros which contains all Check_MK-Tags
+ separated by spaces
Notifications:
* Fix flexible notifications on non-OMD systems
diff --git a/check_mk_templates.cfg b/check_mk_templates.cfg
index 80d9f16..42ffd8e 100644
--- a/check_mk_templates.cfg
+++ b/check_mk_templates.cfg
@@ -335,6 +335,7 @@ define command {
NOTIFY_SHORTDATETIME='$SHORTDATETIME$' \
NOTIFY_LONGDATETIME='$LONGDATETIME$' \
NOTIFY_HOSTDOWNTIME='$HOSTDOWNTIME$' \
+ NOTIFY_HOSTTAGS='$_HOSTTAGS$' \
@BINDIR@/check_mk --notify
}