Module: check_mk
Branch: master
Commit: ac7c0eaf85c9d398eae2d1582d9b2d6b6a5edb24
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ac7c0eaf85c9d3…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Wed Aug 31 16:52:07 2016 +0200
3867 filter 'Servicegroup (Regex)' can be negated
---
.werks/3867 | 9 +++++++++
ChangeLog | 1 +
web/plugins/visuals/filters.py | 2 +-
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/.werks/3867 b/.werks/3867
new file mode 100644
index 0000000..e938d41
--- /dev/null
+++ b/.werks/3867
@@ -0,0 +1,9 @@
+Title: filter 'Servicegroup (Regex)' can be negated
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.4.0i1
+Date: 1472655066
+Class: feature
+
+
diff --git a/ChangeLog b/ChangeLog
index 4db299d..21f902e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -151,6 +151,7 @@
* 3865 oracle_sessions: now relative levels for sessions are configurable...
* 3647 check_http: Improved rendering of the extended performance data
* 3866 f5_bigip_cluster_failover: new check which monitors the cluster failover
status of F5 BigIP devices
+ * 3867 filter 'Servicegroup (Regex)' can be negated
* 3073 FIX: windows agent: relative paths to mrpe scripts are now treated as relative
to the agent installation directory...
* 3061 FIX: mk_jolokia: Fixed debugging of the agent plugin
* 3074 FIX: windows agent: fixed incorrect values for 32-bit performance counters
diff --git a/web/plugins/visuals/filters.py b/web/plugins/visuals/filters.py
index 9fda7b6..f51a0dc 100644
--- a/web/plugins/visuals/filters.py
+++ b/web/plugins/visuals/filters.py
@@ -432,7 +432,7 @@ declare_filter(101, FilterText("hostgroupnameregex",
_("Hostgroup (Regex)"),
declare_filter(102, FilterHostgroupVisibility("hostgroupvisibility",
_("Empty Hostgroup Visibilitiy")),
_("You can enable this checkbox to show empty
hostgroups"))
-declare_filter(101, FilterText("servicegroupnameregex", _("Servicegroup
(Regex)"), "servicegroup", "servicegroup_name",
"servicegroup_regex", "~~"),
+declare_filter(101, FilterText("servicegroupnameregex", _("Servicegroup
(Regex)"), "servicegroup", "servicegroup_name",
"servicegroup_regex", "~~", negateable=True),
_("Search field allowing regular expression and partial
matches"))
declare_filter(101, FilterText("servicegroupname", _("Servicegroup
(enforced)"), "servicegroup", "servicegroup_name",
"servicegroup_name", "="),