Module: check_mk
Branch: master
Commit: e9a5515e164a9a2e1eca7863daa3102ccb4c4d63
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e9a5515e164a9a…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Apr 4 16:52:54 2016 +0200
Cleaned up SIGINT handling of notify helper
---
modules/notify.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/notify.py b/modules/notify.py
index 663b720..7da20d0 100644
--- a/modules/notify.py
+++ b/modules/notify.py
@@ -338,7 +338,10 @@ def notification_analyse_backlog(nr):
# | by the Micro Core. |
# '----------------------------------------------------------------------'
+# TODO: Make use of the generic do_keepalive() mechanism?
def notify_keepalive():
+ load_module("keepalive")
+ register_keepalive_sigint_handler()
event_keepalive(
event_function = notify_notify,
log_function = notify_log,