Module: check_mk
Branch: master
Commit: 41c630e256ddb07c3a72b29a18efffcbb19bcd63
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=41c630e256ddb0…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed Nov 9 14:52:37 2016 +0100
Updated bug entries #2527
---
.bugs/2527 | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/.bugs/2527 b/.bugs/2527
new file mode 100644
index 0000000..b0a5b35
--- /dev/null
+++ b/.bugs/2527
@@ -0,0 +1,18 @@
+Title: Fix broken rule evaluation when using multiple negated hosts
+Component: checks
+State: open
+Date: 2016-11-09 14:46:05
+Targetversion: future
+Class: bug
+
+The functions wato.py:rule_matches_host_and_item and
modules/check_mk.py:in_extraconf_hostlist
+can not handle these kind of hostlist ['!heute1', '!heute',
'!heute2', '@all']
+If a ! is detected, the for loop exits immediately after the checked item.
+
+These conditions specified in WATO do not work: "Host name is not one of heute1,
heute or heute2"
+
+Replay issue:
+1) Create a rule: Hosts using SNMP bulk walk (enforces SNMP v2c)
+2) Setup hosts as mentioned in the example above
+3) Navigate to "Parameters of {hostname}"
+ Host heute matches, Host heute1 does not match