From mk@mathias-kettner.de Fri Apr 24 09:33:12 2015
From: Mathias Kettner <mk@mathias-kettner.de>
To: checkmk-commits@lists.checkmk.com
Subject: [checkmk-commits] Check_MK Git: check_mk: notify.py: add log message
 when receiving remote notificatin
Date: Fri, 24 Apr 2015 09:33:12 +0200
Message-ID: <5539f1b8.esGncAwflxGOOF3Y%mk@mathias-kettner.de>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============8975343176513259906=="

--===============8975343176513259906==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Module: check_mk
Branch: master
Commit: a86e31fe7046faa8e59c94bdad8a84e17dc81b9f
URL:    http://git.mathias-kettner.de/git/?p=3Dcheck_mk.git;a=3Dcommit;h=3Da8=
6e31fe7046faa8e59c94bdad8a84e17dc81b9f

Author: Mathias Kettner <mk(a)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 deliv=
ery." %
+                        find_host_service(plugin_context))
             raw_context =3D data["context"]
             locally_deliver_raw_context(data["context"])
             return 0 # No error handling for async delivery


--===============8975343176513259906==--


