Module: check_mk
Branch: master
Commit: 4d85c1ff605e0ee24b939bacae36183dc1baa05b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4d85c1ff605e0e…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Dec 7 15:43:00 2011 +0100
Added view to show a single aggregation defined by agg_name parameter
---
web/plugins/views/builtin.py | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/web/plugins/views/builtin.py b/web/plugins/views/builtin.py
index e55a371..0edf462 100644
--- a/web/plugins/views/builtin.py
+++ b/web/plugins/views/builtin.py
@@ -2406,6 +2406,36 @@ multisite_builtin_views.update({
'title': 'Single-Host Problems',
'topic': _('Business Intelligence')},
+# Shows a single aggregation which has to be set via aggr_name=<Name>
+'aggr_single': {'browser_reload': 0,
+ 'column_headers': 'pergroup',
+ 'datasource': 'bi_aggregations',
+ 'description': u'',
+ 'group_painters': [],
+ 'hard_filters': [],
+ 'hard_filtervars': [],
+ 'hidden': True,
+ 'hide_filters': ['aggr_name'],
+ 'hidebutton': False,
+ 'icon': 'aggr',
+ 'layout': 'table',
+ 'linktitle': 'All Aggregations',
+ 'mobile': False,
+ 'mustsearch': False,
+ 'name': 'aggr_single',
+ 'num_columns': 1,
+ 'owner': 'omdadmin',
+ 'painters': [('aggr_state', None, ''),
+ ('aggr_treestate', None, '')],
+ 'play_sounds': False,
+ 'public': True,
+ 'show_checkboxes': None,
+ 'show_filters': [],
+ 'sorters': [],
+ 'title': u'Single Aggregation',
+ 'topic': u'Business Intelligence',
+ 'user_sortable': None}
+
# +----------------------------------------------------------------------+
# | _ _ _ _ __ _ _ _ |
# | | \ | | ___ | |_(_)/ _(_) ___ __ _| |_(_) ___ _ __ ___ |