Module: check_mk
Branch: master
Commit: 9f2fcbf95edc05696efd58fb40192394490e2c24
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9f2fcbf95edc05…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Sat Oct 29 18:44:56 2011 +0200
FIX: dashboard: ignore notification period
---
ChangeLog | 2 ++
web/plugins/views/dashboard.py | 10 +++-------
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 76fb053..dc5c0db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -45,6 +45,8 @@
* FIX: filter for WATO file/folder was not always working.
* Added filter for hard services states to search and service
problems view
+ * FIX: dashboard problem views now ignore notification period,
+ just as tactical overview and normal problem views do
1.1.12:
diff --git a/web/plugins/views/dashboard.py b/web/plugins/views/dashboard.py
index e0da15c..3f107fb 100644
--- a/web/plugins/views/dashboard.py
+++ b/web/plugins/views/dashboard.py
@@ -35,12 +35,10 @@ multisite_builtin_views.update({
'group_painters': [],
'hard_filters': ['host_scheduled_downtime_depth',
'summary_host',
- 'host_in_notification_period',
'hoststate',
'host_acknowledged',
],
'hard_filtervars':
[('is_host_scheduled_downtime_depth', '0'),
- ('is_host_in_notification_period',
'1'),
('hst0', ''),
('hst1', 'on'),
('hst2', 'on'),
@@ -81,16 +79,14 @@ multisite_builtin_views.update({
'browser_reload': 30,
'column_headers': 'pergroup',
'datasource': 'services',
- 'description': 'All non-downtime, non-acknownledged services
within notification period, used for the dashbaord',
+ 'description': 'All non-downtime, non-acknownledged
services, used for the dashbaord',
'group_painters': [],
- 'hard_filters': ['service_in_notification_period',
- 'service_acknowledged',
+ 'hard_filters': ['service_acknowledged',
'svcstate',
'hoststate',
'summary_host',
'in_downtime'],
- 'hard_filtervars':
[('is_service_in_notification_period', '1'),
- ('is_in_downtime', '0'),
+ 'hard_filtervars': [('is_in_downtime', '0'),
('is_service_acknowledged', '0'),
('st0', ''),
('st1', 'on'),