[checkmk-commits] Check_MK Git: check_mk: notify.py: add log message when receiving remote notificatin

Mathias Kettner mk at mathias-kettner.de
Fri Apr 24 09:33:12 CEST 2015


Module: check_mk
Branch: master
Commit: a86e31fe7046faa8e59c94bdad8a84e17dc81b9f
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a86e31fe7046faa8e59c94bdad8a84e17dc81b9f

Author: Mathias Kettner <mk at mathias-kettner.de>
Date:   Fri Apr 24 09:33:07 2015 +0200

notify.py: add log message when receiving remote notificatin

---

 modules/notify.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/notify.py b/modules/notify.py
index 14c7320..dc18841 100644
--- a/modules/notify.py
+++ b/modules/notify.py
@@ -1484,7 +1484,8 @@ def handle_spoolfile(spoolfile):
             # We received a forwarded raw notification. We need to process
             # this with our local notification rules in order to call one,
             # several or no actual plugins.
-            notify_log("Got spool file from remote host for local delivery.")
+            notify_log("Got spool file (%s) from remote host for local delivery." %
+                        find_host_service(plugin_context))
             raw_context = data["context"]
             locally_deliver_raw_context(data["context"])
             return 0 # No error handling for async delivery



More information about the checkmk-commits mailing list