Module: check_mk
Branch: master
Commit: 173ce32c8bace866b1d6341589dc97c74dfffbb4
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=173ce32c8bace8…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Oct 12 15:07:01 2016 +0200
Fixed logwatch pattern analyzer since werk 3817
---
web/htdocs/wato.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 6ccd1fb..588a611 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -14599,6 +14599,9 @@ def mode_pattern_editor(phase):
last_in_group = rulenr == len(ruleset) - 1 or ruleset[rulenr+1][0] != folder
pattern_list, tag_specs, host_list, item_list, rule_options =
parse_rule(rulespec, rule)
+ if type(pattern_list) == dict:
+ pattern_list = pattern_list["reclassify_patterns"]
+
# Check if this rule applies to the given host/service
if hostname:
# If hostname (and maybe filename) try match it