Module: check_mk
Branch: master
Commit: e28fa561d0913a0c1b31002499c94796988f6087
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e28fa561d0913a…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri May 25 15:31:24 2012 +0200
Added NOTIFICATIONTYPE to host/service mail bodies
---
modules/notify.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/notify.py b/modules/notify.py
index f15ba30..600a0c9 100644
--- a/modules/notify.py
+++ b/modules/notify.py
@@ -51,7 +51,7 @@ Alias: $HOSTALIAS$
Address: $HOSTADDRESS$
"""
-notification_host_body = u"""State: $LASTHOSTSTATE$ -> $HOSTSTATE$
+notification_host_body = u"""State: $LASTHOSTSTATE$ -> $HOSTSTATE$
($NOTIFICATIONTYPE$)
Command: $HOSTCHECKCOMMAND$
Output: $HOSTOUTPUT$
Perfdata: $HOSTPERFDATA$
@@ -59,7 +59,7 @@ $LONGHOSTOUTPUT$
"""
notification_service_body = u"""Service: $SERVICEDESC$
-State: $LASTSERVICESTATE$ -> $SERVICESTATE$
+State: $LASTSERVICESTATE$ -> $SERVICESTATE$ ($NOTIFICATIONTYPE$)
Command: $SERVICECHECKCOMMAND$
Output: $SERVICEOUTPUT$
Perfdata: $SERVICEPERFDATA$