Module: check_mk
Branch: master
Commit: 59919b36c8181cf779eb8fe7f50d21e7a63f7a3c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=59919b36c8181c…
Author: Goetz Golla <gg(a)mathias-kettner.de>
Date: Wed Mar 25 15:13:29 2015 +0100
mkeventd: another small fix of exception code to correctly print original ip address
---
mkeventd/bin/mkeventd | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mkeventd/bin/mkeventd b/mkeventd/bin/mkeventd
index 72ec19f..d6f3b98 100755
--- a/mkeventd/bin/mkeventd
+++ b/mkeventd/bin/mkeventd
@@ -2235,7 +2235,7 @@ class EventServer:
"priority" : 0,
"text" : line,
"host" : "",
- "ipaddress" : address or "",
+ "ipaddress" : address and address[0] or "",
"application" : "",
"pid" : 0,
"time" : time.time(),