Module: check_mk
Branch: master
Commit: 9f24496d138761872b9c7f4736518d195295e804
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9f24496d138761…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Sep 29 17:21:18 2016 +0200
3739 FIX: Fix exception in displaying check parameter of grouped interfaces
---
.werks/3739 | 12 ++++++++++++
ChangeLog | 1 +
web/plugins/wato/check_parameters.py | 1 +
3 files changed, 14 insertions(+)
diff --git a/.werks/3739 b/.werks/3739
new file mode 100644
index 0000000..96cb02f
--- /dev/null
+++ b/.werks/3739
@@ -0,0 +1,12 @@
+Title: Fix exception in displaying check parameter of grouped interfaces
+Level: 1
+Component: wato
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.4.0i1
+Date: 1475162057
+
+In the list of services WATO would show an exception about an invalid
+key <tt>aggr_item_member</tt>. This has been fixed and the parameter
+is now correctly being displayed.
diff --git a/ChangeLog b/ChangeLog
index 8f999ab..d830312 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -650,6 +650,7 @@
* 3845 FIX: Added missing validation of host attribute values to WATO Web API calls
* 3881 FIX: fixed automation call 'delete piggyback host'
* 3738 FIX: Fixed sporadic pending changes due to (not) changed contact groups...
+ * 3739 FIX: Fix exception in displaying check parameter of grouped interfaces...
Notifications:
* 3263 Notifications: allow users to restrict by their contact groups...
diff --git a/web/plugins/wato/check_parameters.py b/web/plugins/wato/check_parameters.py
index bd1da6e..65469a7 100644
--- a/web/plugins/wato/check_parameters.py
+++ b/web/plugins/wato/check_parameters.py
@@ -5543,6 +5543,7 @@ register_check_parameters(
# Transform old traffic related levels which used "traffic" and
"traffic_minimum"
# keys where each was configured with an Alternative valuespec
Transform(Dictionary(
+ ignored_keys = [ "aggr_member_item", "aggregate" ], # Created
by discovery when using interface grouping
elements = [
( "errors",
Alternative(