1 line
8.8 KiB
Plaintext
1 line
8.8 KiB
Plaintext
{'packs': [{'id': 'default', 'title': 'Default Pack', 'comment': '', 'contact_groups': [], 'public': True, 'rules': [{'id': 'applications', 'nodes': [{'search': {'type': 'empty'}, 'action': {'type': 'state_of_service', 'host_regex': '$HOSTNAME$', 'service_regex': 'ASM|ORACLE|proc'}}], 'params': {'arguments': ['HOSTNAME']}, 'node_visualization': {'style_config': {}, 'type': 'none'}, 'properties': {'title': 'Applications', 'comment': '', 'docu_url': '', 'icon': '', 'state_messages': {}}, 'aggregation_function': {'type': 'worst', 'count': 1, 'restrict_state': 2}, 'computation_options': {'disabled': False}}, {'id': 'checkmk', 'nodes': [{'search': {'type': 'empty'}, 'action': {'type': 'state_of_service', 'host_regex': '$HOSTNAME$', 'service_regex': 'Check_MK|Uptime'}}], 'params': {'arguments': ['HOSTNAME']}, 'node_visualization': {'style_config': {}, 'type': 'none'}, 'properties': {'title': 'Check_MK', 'comment': '', 'docu_url': '', 'icon': '', 'state_messages': {}}, 'aggregation_function': {'type': 'worst', 'count': 1, 'restrict_state': 2}, 'computation_options': {'disabled': False}}, {'id': 'filesystem', 'nodes': [{'search': {'type': 'empty'}, 'action': {'type': 'state_of_service', 'host_regex': '$HOSTNAME$', 'service_regex': 'fs_$FS$$'}}, {'search': {'type': 'empty'}, 'action': {'type': 'state_of_service', 'host_regex': '$HOSTNAME$', 'service_regex': 'Filesystem$FS$$'}}, {'search': {'type': 'empty'}, 'action': {'type': 'state_of_service', 'host_regex': '$HOSTNAME$', 'service_regex': 'Mount options of $FS$$'}}], 'params': {'arguments': ['HOSTNAME', 'FS']}, 'node_visualization': {'style_config': {}, 'type': 'none'}, 'properties': {'title': '$FS$', 'comment': '', 'docu_url': '', 'icon': '', 'state_messages': {}}, 'aggregation_function': {'type': 'worst', 'count': 1, 'restrict_state': 2}, 'computation_options': {'disabled': False}}, {'id': 'filesystems', 'nodes': [{'search': {'type': 'empty'}, 'action': {'type': 'state_of_service', 'host_regex': '$HOSTNAME$', 'service_regex': 'Disk|MD'}}, {'search': {'type': 'empty'}, 'action': {'type': 'call_a_rule', 'rule_id': 'multipathing', 'params': {'arguments': ['$HOSTNAME$']}}}, {'search': {'type': 'service_search', 'conditions': {'host_choice': {'pattern': '$HOSTNAME$', 'type': 'host_name_regex'}, 'host_folder': '', 'host_labels': {}, 'host_tags': {}, 'service_labels': {}, 'service_regex': 'fs_(.*)'}}, 'action': {'type': 'call_a_rule', 'rule_id': 'filesystem', 'params': {'arguments': ['$HOSTNAME$', '$1$']}}}, {'search': {'type': 'service_search', 'conditions': {'host_choice': {'pattern': '$HOSTNAME$', 'type': 'host_name_regex'}, 'host_folder': '', 'host_labels': {}, 'host_tags': {}, 'service_labels': {}, 'service_regex': 'Filesystem(.*)'}}, 'action': {'type': 'call_a_rule', 'rule_id': 'filesystem', 'params': {'arguments': ['$HOSTNAME$', '$1$']}}}], 'params': {'arguments': ['HOSTNAME']}, 'node_visualization': {'style_config': {}, 'type': 'none'}, 'properties': {'title': 'Disk & Filesystems', 'comment': '', 'docu_url': '', 'icon': '', 'state_messages': {}}, 'aggregation_function': {'type': 'worst', 'count': 1, 'restrict_state': 2}, 'computation_options': {'disabled': False}}, {'id': 'general', 'nodes': [{'search': {'type': 'empty'}, 'action': {'type': 'state_of_host', 'host_regex': '$HOSTNAME$'}}, {'search': {'type': 'empty'}, 'action': {'type': 'state_of_service', 'host_regex': '$HOSTNAME$', 'service_regex': 'Uptime'}}, {'search': {'type': 'empty'}, 'action': {'type': 'call_a_rule', 'rule_id': 'checkmk', 'params': {'arguments': ['$HOSTNAME$']}}}], 'params': {'arguments': ['HOSTNAME']}, 'node_visualization': {'style_config': {}, 'type': 'none'}, 'properties': {'title': 'General State', 'comment': '', 'docu_url': '', 'icon': '', 'state_messages': {}}, 'aggregation_function': {'type': 'worst', 'count': 1, 'restrict_state': 2}, 'computation_options': {'disabled': False}}, {'id': 'hardware', 'nodes': [{'search': {'type': 'empty'}, 'action': {'type': 'state_of_service', 'host_regex': '$HOSTNAME$', 'service_regex': 'IPMI|RAID'}}], 'params': {'arguments': ['HOSTNAME']}, 'node_visualization': {'style_config': {}, 'type': 'none'}, 'properties': {'title': 'Hardware', 'comment': '', 'docu_url': '', 'icon': '', 'state_messages': {}}, 'aggregation_function': {'type': 'worst', 'count': 1, 'restrict_state': 2}, 'computation_options': {'disabled': False}}, {'id': 'host', 'nodes': [{'search': {'type': 'empty'}, 'action': {'type': 'call_a_rule', 'rule_id': 'general', 'params': {'arguments': ['$HOSTNAME$']}}}, {'search': {'type': 'empty'}, 'action': {'type': 'call_a_rule', 'rule_id': 'performance', 'params': {'arguments': ['$HOSTNAME$']}}}, {'search': {'type': 'empty'}, 'action': {'type': 'call_a_rule', 'rule_id': 'filesystems', 'params': {'arguments': ['$HOSTNAME$']}}}, {'search': {'type': 'empty'}, 'action': {'type': 'call_a_rule', 'rule_id': 'networking', 'params': {'arguments': ['$HOSTNAME$']}}}, {'search': {'type': 'empty'}, 'action': {'type': 'call_a_rule', 'rule_id': 'applications', 'params': {'arguments': ['$HOSTNAME$']}}}, {'search': {'type': 'empty'}, 'action': {'type': 'call_a_rule', 'rule_id': 'logfiles', 'params': {'arguments': ['$HOSTNAME$']}}}, {'search': {'type': 'empty'}, 'action': {'type': 'call_a_rule', 'rule_id': 'hardware', 'params': {'arguments': ['$HOSTNAME$']}}}, {'search': {'type': 'empty'}, 'action': {'type': 'call_a_rule', 'rule_id': 'other', 'params': {'arguments': ['$HOSTNAME$']}}}], 'params': {'arguments': ['HOSTNAME']}, 'node_visualization': {'style_config': {}, 'type': 'none'}, 'properties': {'title': 'Host $HOSTNAME$', 'comment': '', 'docu_url': '', 'icon': '', 'state_messages': {}}, 'aggregation_function': {'type': 'worst', 'count': 1, 'restrict_state': 2}, 'computation_options': {'disabled': False}}, {'id': 'logfiles', 'nodes': [{'search': {'type': 'empty'}, 'action': {'type': 'state_of_service', 'host_regex': '$HOSTNAME$', 'service_regex': 'LOG'}}], 'params': {'arguments': ['HOSTNAME']}, 'node_visualization': {'style_config': {}, 'type': 'none'}, 'properties': {'title': 'Logfiles', 'comment': '', 'docu_url': '', 'icon': '', 'state_messages': {}}, 'aggregation_function': {'type': 'worst', 'count': 1, 'restrict_state': 2}, 'computation_options': {'disabled': False}}, {'id': 'multipathing', 'nodes': [{'search': {'type': 'empty'}, 'action': {'type': 'state_of_service', 'host_regex': '$HOSTNAME$', 'service_regex': 'Multipath'}}], 'params': {'arguments': ['HOSTNAME']}, 'node_visualization': {'style_config': {}, 'type': 'none'}, 'properties': {'title': 'Multipathing', 'comment': '', 'docu_url': '', 'icon': '', 'state_messages': {}}, 'aggregation_function': {'type': 'worst', 'count': 1, 'restrict_state': 2}, 'computation_options': {'disabled': False}}, {'id': 'networking', 'nodes': [{'search': {'type': 'empty'}, 'action': {'type': 'state_of_service', 'host_regex': '$HOSTNAME$', 'service_regex': 'NFS|Interface|TCP'}}], 'params': {'arguments': ['HOSTNAME']}, 'node_visualization': {'style_config': {}, 'type': 'none'}, 'properties': {'title': 'Networking', 'comment': '', 'docu_url': '', 'icon': '', 'state_messages': {}}, 'aggregation_function': {'type': 'worst', 'count': 1, 'restrict_state': 2}, 'computation_options': {'disabled': False}}, {'id': 'other', 'nodes': [{'search': {'type': 'empty'}, 'action': {'type': 'state_of_remaining_services', 'host_regex': '$HOSTNAME$'}}], 'params': {'arguments': ['HOSTNAME']}, 'node_visualization': {'style_config': {}, 'type': 'none'}, 'properties': {'title': 'Other', 'comment': '', 'docu_url': '', 'icon': '', 'state_messages': {}}, 'aggregation_function': {'type': 'worst', 'count': 1, 'restrict_state': 2}, 'computation_options': {'disabled': False}}, {'id': 'performance', 'nodes': [{'search': {'type': 'empty'}, 'action': {'type': 'state_of_service', 'host_regex': '$HOSTNAME$', 'service_regex': 'CPU|Memory|Vmalloc|Kernel|Number of threads'}}], 'params': {'arguments': ['HOSTNAME']}, 'node_visualization': {'style_config': {}, 'type': 'none'}, 'properties': {'title': 'Performance', 'comment': '', 'docu_url': '', 'icon': '', 'state_messages': {}}, 'aggregation_function': {'type': 'worst', 'count': 1, 'restrict_state': 2}, 'computation_options': {'disabled': False}}], 'aggregations': [{'id': 'default_aggregation', 'comment': '', 'customer': None, 'groups': {'names': ['Hosts'], 'paths': []}, 'node': {'search': {'type': 'host_search', 'conditions': {'host_choice': {'type': 'all_hosts'}, 'host_folder': '', 'host_labels': {}, 'host_tags': {'tcp': 'tcp'}}, 'refer_to': 'host'}, 'action': {'type': 'call_a_rule', 'rule_id': 'host', 'params': {'arguments': ['$HOSTNAME$']}}}, 'aggregation_visualization': {'ignore_rule_styles': False, 'layout_id': 'builtin_default', 'line_style': 'round'}, 'computation_options': {'disabled': True, 'use_hard_states': False, 'escalate_downtimes_as_warn': False}}]}, {'id': 'LocalBI', 'title': 'LocalBI', 'comment': '2022-03-31 caelebfi: created local BI rule pack\n', 'contact_groups': [], 'public': False, 'rules': [], 'aggregations': []}]} |