Module: check_mk
Branch: master
Commit: c9c6f77a80d09f78942852321c83d5479c18ccae
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c9c6f77a80d09f…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Thu Sep 19 13:34:08 2013 +0200
logwatch: fixed reclassification of solely informational lines
---
ChangeLog | 1 +
checks/logwatch | 1 +
2 files changed, 2 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 9348809..42fb6d3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -97,6 +97,7 @@
by the check plugin
* agent_vsphere: completely rewritten, now considerably faster
vCenter is still queried by old version
+ * logwatch: fixed reclassification of solely informational lines
Notifications:
diff --git a/checks/logwatch b/checks/logwatch
index 1669bf2..e21c553 100644
--- a/checks/logwatch
+++ b/checks/logwatch
@@ -121,6 +121,7 @@ def logwatch_level_name(level):
def logwatch_level_worst(worst, level):
if level == 'O': return max(worst, 0)
+ elif level == 'I': return max(worst, 0)
elif level == 'W': return max(worst, 1)
elif level == 'u': return max(worst, 1)
elif level == 'C': return max(worst, 2)