Module: check_mk
Branch: master
Commit: a313d7350857b1f06b4b0361c8e3139007880a24
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a313d7350857b1…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Jan 30 10:24:07 2013 +0100
FIX: logwatch.ec: fixed exception when forwarding "OK" lines
---
ChangeLog | 1 +
checks/logwatch | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 07d1f42..9760bb0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -18,6 +18,7 @@
* jolokia_metrics.mem: now supports warn/crit levels for heap, nonheap, totalheap
* jolokia_metrics.mem: add dedicated PNP graph
* FIX: logwatch.ec: use UNIX socket instead of Pipe for forwarding into EC
+ * FIX: logwatch.ec: fixed exception when forwarding "OK" lines
Multisite:
* Added comment painter to notification related views
diff --git a/checks/logwatch b/checks/logwatch
index a8a0706..4e90529 100644
--- a/checks/logwatch
+++ b/checks/logwatch
@@ -403,7 +403,7 @@ def logwatch_to_prio(level):
return 4
elif level == 'C':
return 2
- elif level == '0':
+ elif level == 'O':
return 5
elif level == 'u':
return 4