Module: check_mk
Branch: master
Commit: 0ec4e6fa3fb52040ae87b397e6d378271f552089
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0ec4e6fa3fb520…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Fri Sep 9 13:50:17 2016 +0200
3871 FIX stale services view: excluded services in downtime per default
---
.werks/3871 | 10 ++++++++++
ChangeLog | 1 +
web/plugins/views/builtin.py | 5 +++--
3 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/.werks/3871 b/.werks/3871
new file mode 100644
index 0000000..5a4bd21
--- /dev/null
+++ b/.werks/3871
@@ -0,0 +1,10 @@
+Title: stale services view: excluded services in downtime per default
+Level: 1
+Component: multisite
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.4.0i1
+Date: 1473421765
+
+
diff --git a/ChangeLog b/ChangeLog
index 536a105..4f63b5a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -484,6 +484,7 @@
* 3779 FIX: availability: added validation of availability options
* 3767 FIX: Fixed possible UnicodeDecodeError when having users with umlauts in the
user ID
* 3850 FIX: Fixed JS error when quicksearch snapin not in sidebar
+ * 3871 FIX: stale services view: excluded services in downtime per default
WATO:
* 3244 WATO BI Module: swap order of aggregation function and child node
selection...
diff --git a/web/plugins/views/builtin.py b/web/plugins/views/builtin.py
index deeeaf1..b7f3c76 100644
--- a/web/plugins/views/builtin.py
+++ b/web/plugins/views/builtin.py
@@ -1690,8 +1690,9 @@ multisite_builtin_views.update({
'datasource': 'services',
'description': _('Services that have not been checked for
too long according to their configured check intervals.'),
'group_painters': [('host', 'host',
'')],
- 'hard_filters': ['service_staleness'],
- 'hard_filtervars': [('is_service_staleness',
'1')],
+ 'hard_filters': [ 'service_staleness',
'service_scheduled_downtime_depth' ],
+ 'hard_filtervars': [('is_service_staleness',
'1'),
+ ('is_service_scheduled_downtime_depth',
'0')],
'hidden': False,
'hide_filters': [],
'hidebutton': False,