Module: check_mk
Branch: master
Commit: 4d520670201f9514e58daf242d956c23a234eedc
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4d520670201f95…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Nov 27 15:38:51 2014 +0100
New builtin view for listing BI aggregations for API calls
---
web/plugins/views/builtin.py | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/web/plugins/views/builtin.py b/web/plugins/views/builtin.py
index 6a16a8c..3b65e55 100644
--- a/web/plugins/views/builtin.py
+++ b/web/plugins/views/builtin.py
@@ -2836,6 +2836,40 @@ multisite_builtin_views.update({
'topic': u'Business Intelligence',
'user_sortable': None},
+# Shows minimal information about a multiple aggregation
+# Use together with output_format=python for API calls
+'aggr_all_api': {'browser_reload': 0,
+ 'column_headers': 'pergroup',
+ 'datasource': 'bi_aggregations',
+ 'description': _('List of all aggregations, containing
the name of aggregations and state information'),
+ 'group_painters': [],
+ 'hard_filters': [],
+ 'hard_filtervars': [],
+ 'hidden': True,
+ 'hide_filters': [],
+ 'hidebutton': True,
+ 'icon': 'aggr',
+ 'layout': 'table',
+ 'linktitle': 'All Aggregations',
+ 'mobile': False,
+ 'mustsearch': False,
+ 'name': 'aggr_all_api',
+ 'num_columns': 1,
+ 'owner': 'omdadmin',
+ 'painters': [('aggr_group', None, ''),
+ ('aggr_name', None, ''),
+ ('aggr_state_num', None, ''),
+ ('aggr_output', None, ''),
+ ('aggr_treestate', None, '')],
+ 'play_sounds': False,
+ 'public': True,
+ 'show_checkboxes': None,
+ 'show_filters': [],
+ 'sorters': [],
+ 'title': u'List of all Aggregations for simple API
calls',
+ 'topic': u'Business Intelligence',
+ 'user_sortable': None},
+
# Shows minimal information about a single aggregation which has to be set via
aggr_name=<Name>.
# Use together with output_format=python for API calls
'aggr_single_api': {'browser_reload': 0,