Module: check_mk
Branch: master
Commit: d7a625e240607451c04d78b1082e957e721c4cf0
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d7a625e2406074…
Author: Sebastian Herbord <sh(a)mathias-kettner.de>
Date: Thu Jan 7 18:20:38 2016 +0100
logwatch.ec: fixed failure to forward logwatch messages containing colons in the item name
to event console
---
mkeventd/bin/mkeventd | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mkeventd/bin/mkeventd b/mkeventd/bin/mkeventd
index e17ad39..5e4bb05 100755
--- a/mkeventd/bin/mkeventd
+++ b/mkeventd/bin/mkeventd
@@ -2150,7 +2150,7 @@ class EventServer:
timestamp_str, host, rest = line[1:].split(None, 2)
event["time"] = float(int(timestamp_str))
- service, message = rest.split(":", 1)
+ service, message = rest.split(": ", 1)
event["application"] = service
event["text"] = message.strip()
event["host"] = host