Module: check_mk
Branch: master
Commit: 3bdc3d2de1ef3630403dbee101b5e18277c2142a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3bdc3d2de1ef36…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Wed May 2 12:46:47 2018 +0200
Fixed logging message.
Change-Id: I21a0cde159cf806616c5a0a5db86000db5f4a30f
---
cmk/ec/main.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmk/ec/main.py b/cmk/ec/main.py
index f5be9f5..a25bb79 100644
--- a/cmk/ec/main.py
+++ b/cmk/ec/main.py
@@ -1750,7 +1750,7 @@ class EventServer(ECServerThread):
self.process_raw_data(lambda: self.process_snmptrap(message,
sender_address))
except Exception:
self.logger.exception('Exception handling a SNMP trap from
"%s". Skipping this one' %
- (data[1][0]))
+ sender_address[0])
try:
# process the first spool file we get