Module: check_mk
Branch: master
Commit: 521a89d232bf818e6042bea1ed15907cf5c0a976
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=521a89d232bf81…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Apr 19 15:21:51 2013 +0200
Fixed bug in notify.py: fake-host mode
---
modules/notify.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/notify.py b/modules/notify.py
index 6b4cdc0..36f2f72 100644
--- a/modules/notify.py
+++ b/modules/notify.py
@@ -352,7 +352,7 @@ def do_notify(args):
context['SERVICEURL'] =
'/check_mk/view.py?view_name=service&host=%s&service=%s' % \
(urlencode(context['HOSTNAME']),
urlencode(context['SERVICEDESC']))
- if mode in [ 'fake-service', 'fake_host' ]:
+ if mode in [ 'fake-service', 'fake-host' ]:
sys.exit(call_notification_script(plugin, [], context, True))
if 'LASTHOSTSTATECHANGE' in context: