Module: check_mk
Branch: master
Commit: cf9c14425541236fe69d13e6adab99b3ba1e249c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=cf9c1442554123…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Tue Aug 20 10:16:58 2013 +0200
notify.py: fixed bug with local notification spooling
---
ChangeLog | 1 +
modules/notify.py | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 7497da1..365a5f1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -68,6 +68,7 @@
Notifications:
* notify.py: Matching service level: Use the hosts service level if a
service has no service level set
+ * notify.py: fixed bug with local notification spooling
Multisite:
* User accounts can now be locked after a specified amount of auth
diff --git a/modules/notify.py b/modules/notify.py
index 5ac931f..4f5a12e 100644
--- a/modules/notify.py
+++ b/modules/notify.py
@@ -508,7 +508,7 @@ def notify_notify(context):
"that are prefixed with NOTIFY_\n")
sys.exit(1)
- if notification_spooling:
+ if notification_spool_to:
# Create spoolfile
target_site = "%s:%s" % notification_spool_to[0:2]
create_spoolfile({"context": context, "forward":
target_site})