hi all,
its possible to add macros in views ?
When current user logged in I want set his opthost_contact_group via macro, is that possible ?
How can I list all macros in CheckMK ?
{'default_hosts': {'add_context_to_title': True,
'browser_reload': 30,
'column_headers': 'pergroup',
'context': {'opthost_contactgroup': {'neg_opthost_contact_group': '',
'opthost_contact_group': **$opthost_contact_group$**},
'opthostgroup': {'neg_opthost_group': '',
'opthost_group': ''},
'siteopt': {'site': ''}},
'datasource': 'hosts',
'description': u'Overall state of all hosts, with counts of services in the various states.\n',
'force_checkboxes': False,
'group_painters': [('sitealias', '', None)],
'hidden': False,
'hidebutton': False,
'icon': None,
'layout': 'table',
'linktitle': u'default hosts',
'mobile': False,
'mustsearch': False,
'name': 'default_hosts',
'num_columns': 1,
'painters': [('host_state', None, None),
(('host', {'color_choices': []}),
'host',
'host_addresses'),
('host_icons', None, None),
('num_services_ok', 'host_ok', None),
('num_services_warn', 'host_warn', None),
('num_services_unknown', 'host_unknown', None),
('num_services_crit', 'host_crit', None),
('num_services_pending', 'host_pending', None)],
'play_sounds': False,
'public': False,
'single_infos': [],
'sorters': [('site', False), ('site_host', False)],
'title': u'default_hosts',
'topic': u'Overview',
'user_sortable': True}}
thank you all