Modified event correlation rule catchall

This commit is contained in:
2022-05-16 09:43:17 +02:00
committed by check_mk
parent b4b24fd292
commit 07a0024a5e
5 changed files with 122 additions and 80 deletions
+1 -1
View File
@@ -1 +1 @@
{'title': 'Main directory', 'attributes': {'network_scan': {'ip_ranges': [('ip_network', ('192.168.0.0', 24))], 'exclude_ranges': [], 'scan_interval': 86400, 'time_allowed': [((0, 0), (24, 0))], 'set_ipaddress': True, 'tag_criticality': 'offline', 'run_as': 'automation'}, 'network_scan_result': {'start': 1652257381.994274, 'end': 1652257388.1920488, 'state': True, 'output': 'The network scan found 0 new hosts.'}, 'meta_data': {'created_at': 1617188804.0, 'created_by': None, 'updated_at': 1652338797.0578327}}, 'num_hosts': 47, 'lock': False, 'lock_subfolders': False, '__id': '88281816b15e48f3bb1f36dd63aa5b63'}
{'title': 'Main directory', 'attributes': {'network_scan': {'ip_ranges': [('ip_network', ('192.168.0.0', 24))], 'exclude_ranges': [], 'scan_interval': 86400, 'time_allowed': [((0, 0), (24, 0))], 'set_ipaddress': True, 'tag_criticality': 'offline', 'run_as': 'automation'}, 'network_scan_result': {'start': 1652603221.5344977, 'end': 1652603227.7336857, 'state': True, 'output': 'The network scan found 0 new hosts.'}, 'meta_data': {'created_at': 1617188804.0, 'created_by': None, 'updated_at': 1652603227.7371926}}, 'num_hosts': 48, 'lock': False, 'lock_subfolders': False, '__id': '88281816b15e48f3bb1f36dd63aa5b63'}
+1 -1
View File
@@ -1 +1 @@
{'title': 'container', 'attributes': {'meta_data': {'created_at': 1648476986.0, 'created_by': 'caelebfi', 'updated_at': 1652338797.059078}, 'tag_architecture': 'container'}, 'num_hosts': 6, 'lock': False, 'lock_subfolders': False, '__id': '8eda6a9d582a4f4aab0e57cb3d49d695'}
{'title': 'container', 'attributes': {'meta_data': {'created_at': 1648476986.0, 'created_by': 'caelebfi', 'updated_at': 1652683046.6782436}, 'tag_architecture': 'container'}, 'num_hosts': 7, 'lock': False, 'lock_subfolders': False, '__id': '8eda6a9d582a4f4aab0e57cb3d49d695'}
+54 -30
View File
@@ -2,10 +2,11 @@
# encoding: utf-8
all_hosts += ['darkstat',
'esphome',
'homeassistant',
'nodered',
'photoprism_photoprism_1',
'portainer',
'telegraf',
'watchtowercontinuously']
host_tags.update({'darkstat': {'address_family': 'no-ip',
@@ -17,6 +18,15 @@ host_tags.update({'darkstat': {'address_family': 'no-ip',
'piggyback': 'piggyback',
'site': 'realm',
'snmp_ds': 'no-snmp'},
'esphome': {'address_family': 'no-ip',
'agent': 'no-agent',
'architecture': 'container',
'criticality': 'prod',
'networking': 'lan',
'os': 'linux',
'piggyback': 'piggyback',
'site': 'realm',
'snmp_ds': 'no-snmp'},
'homeassistant': {'address_family': 'no-ip',
'agent': 'no-agent',
'architecture': 'container',
@@ -26,6 +36,15 @@ host_tags.update({'darkstat': {'address_family': 'no-ip',
'piggyback': 'piggyback',
'site': 'realm',
'snmp_ds': 'no-snmp'},
'nodered': {'address_family': 'no-ip',
'agent': 'no-agent',
'architecture': 'container',
'criticality': 'prod',
'networking': 'lan',
'os': 'linux',
'piggyback': 'piggyback',
'site': 'realm',
'snmp_ds': 'no-snmp'},
'photoprism_photoprism_1': {'address_family': 'no-ip',
'agent': 'no-agent',
'architecture': 'container',
@@ -44,15 +63,6 @@ host_tags.update({'darkstat': {'address_family': 'no-ip',
'piggyback': 'piggyback',
'site': 'realm',
'snmp_ds': 'no-snmp'},
'telegraf': {'address_family': 'no-ip',
'agent': 'no-agent',
'architecture': 'container',
'criticality': 'prod',
'networking': 'lan',
'os': 'linux',
'piggyback': 'piggyback',
'site': 'realm',
'snmp_ds': 'no-snmp'},
'watchtowercontinuously': {'address_family': 'no-ip',
'agent': 'no-agent',
'architecture': 'container',
@@ -75,12 +85,26 @@ host_attributes.update(
'locked_by': ['realm', 'dcd', 'connection_1'],
'meta_data': {'created_at': 1651911561.3556442,
'created_by': 'automation',
'updated_at': 1652338797.0819645},
'updated_at': 1652683046.6815593},
'site': 'realm',
'tag_address_family': 'no-ip',
'tag_agent': 'no-agent',
'tag_piggyback': 'piggyback',
'tag_snmp_ds': 'no-snmp'},
'esphome': {'locked_attributes': ['site',
'tag_address_family',
'tag_agent',
'tag_piggyback',
'tag_snmp_ds'],
'locked_by': ['realm', 'dcd', 'connection_1'],
'meta_data': {'created_at': 1652371765.370077,
'created_by': 'automation',
'updated_at': 1652683046.682463},
'site': 'realm',
'tag_address_family': 'no-ip',
'tag_agent': 'no-agent',
'tag_piggyback': 'piggyback',
'tag_snmp_ds': 'no-snmp'},
'homeassistant': {'locked_attributes': ['site',
'tag_address_family',
'tag_agent',
@@ -89,12 +113,26 @@ host_attributes.update(
'locked_by': ['realm', 'dcd', 'connection_1'],
'meta_data': {'created_at': 1652092051.894633,
'created_by': 'automation',
'updated_at': 1652338797.082085},
'updated_at': 1652683046.6826146},
'site': 'realm',
'tag_address_family': 'no-ip',
'tag_agent': 'no-agent',
'tag_piggyback': 'piggyback',
'tag_snmp_ds': 'no-snmp'},
'nodered': {'locked_attributes': ['site',
'tag_address_family',
'tag_agent',
'tag_piggyback',
'tag_snmp_ds'],
'locked_by': ['realm', 'dcd', 'connection_1'],
'meta_data': {'created_at': 1652361044.823577,
'created_by': 'automation',
'updated_at': 1652683046.6827464},
'site': 'realm',
'tag_address_family': 'no-ip',
'tag_agent': 'no-agent',
'tag_piggyback': 'piggyback',
'tag_snmp_ds': 'no-snmp'},
'photoprism_photoprism_1': {'locked_attributes': ['site',
'tag_address_family',
'tag_agent',
@@ -103,7 +141,7 @@ host_attributes.update(
'locked_by': ['realm', 'dcd', 'connection_1'],
'meta_data': {'created_at': 1651911561.5142486,
'created_by': 'automation',
'updated_at': 1652338797.0821817},
'updated_at': 1652683046.6828704},
'site': 'realm',
'tag_address_family': 'no-ip',
'tag_agent': 'no-agent',
@@ -115,28 +153,14 @@ host_attributes.update(
'tag_piggyback',
'tag_snmp_ds'],
'locked_by': ['realm', 'dcd', 'connection_1'],
'meta_data': {'created_at': 1651911561.541276,
'meta_data': {'created_at': 1652360426.333045,
'created_by': 'automation',
'updated_at': 1652338797.082274},
'updated_at': 1652683046.6829908},
'site': 'realm',
'tag_address_family': 'no-ip',
'tag_agent': 'no-agent',
'tag_piggyback': 'piggyback',
'tag_snmp_ds': 'no-snmp'},
'telegraf': {'locked_attributes': ['site',
'tag_address_family',
'tag_agent',
'tag_piggyback',
'tag_snmp_ds'],
'locked_by': ['realm', 'dcd', 'connection_1'],
'meta_data': {'created_at': 1651911561.5795965,
'created_by': 'automation',
'updated_at': 1652338797.082365},
'site': 'realm',
'tag_address_family': 'no-ip',
'tag_agent': 'no-agent',
'tag_piggyback': 'piggyback',
'tag_snmp_ds': 'no-snmp'},
'watchtowercontinuously': {'locked_attributes': ['site',
'tag_address_family',
'tag_agent',
@@ -145,7 +169,7 @@ host_attributes.update(
'locked_by': ['realm', 'dcd', 'connection_1'],
'meta_data': {'created_at': 1651911561.6372287,
'created_by': 'automation',
'updated_at': 1652338797.0824556},
'updated_at': 1652683046.6831112},
'site': 'realm',
'tag_address_family': 'no-ip',
'tag_agent': 'no-agent',
+65 -47
View File
@@ -32,6 +32,7 @@ all_hosts += ['192-168-0-112-fritz-box-fritz-box-fritz-box-fritz-box.fritz.box',
'Echo-Show8.fritz.box',
'FireTV-Guest.fritz.box',
'GW-A0C9A0D860E9.fritz.box',
'LGH-00058781.fritz.box',
'NodeMCU-1_1.fritz.box',
'Ring-526584.fritz.box',
'T440p.fritz.box',
@@ -390,6 +391,17 @@ host_tags.update({'192-168-0-112-fritz-box-fritz-box-fritz-box-fritz-box.fritz.b
'site': 'realm',
'snmp_ds': 'no-snmp',
'tcp': 'tcp'},
'LGH-00058781.fritz.box': {'address_family': 'ip-v4-only',
'agent': 'cmk-agent',
'architecture': 'raspi',
'criticality': 'offline',
'ip-v4': 'ip-v4',
'networking': 'lan',
'os': 'linux',
'piggyback': 'auto-piggyback',
'site': 'realm',
'snmp_ds': 'no-snmp',
'tcp': 'tcp'},
'NodeMCU-1_1.fritz.box': {'address_family': 'ip-v4-only',
'agent': 'cmk-agent',
'architecture': 'raspi',
@@ -601,6 +613,7 @@ ipaddresses.update({'192-168-0-112-fritz-box-fritz-box-fritz-box-fritz-box.fritz
'Echo-Show8.fritz.box': '192.168.0.119',
'FireTV-Guest.fritz.box': '192.168.0.121',
'GW-A0C9A0D860E9.fritz.box': '192.168.0.25',
'LGH-00058781.fritz.box': '192.168.0.133',
'NodeMCU-1_1.fritz.box': '192.168.0.143',
'Ring-526584.fritz.box': '192.168.0.37',
'T440p.fritz.box': '192.168.0.144',
@@ -623,236 +636,241 @@ host_attributes.update(
'meta_data': {'created_at': 1634918888.6127768,
'created_by': 'Network '
'scan',
'updated_at': 1652338797.0647054},
'updated_at': 1652603227.6370876},
'tag_criticality': 'offline'},
'192-168-0-125.fritz.box': {'ipaddress': '192.168.0.125',
'meta_data': {'created_at': 1642789810.5878737,
'created_by': 'Network scan',
'updated_at': 1652338797.0648396},
'updated_at': 1652603227.6392338},
'tag_criticality': 'offline'},
'192-168-0-138.fritz.box': {'ipaddress': '192.168.0.138',
'meta_data': {'created_at': 1634659520.7821908,
'created_by': 'Network scan',
'updated_at': 1652338797.0649388},
'updated_at': 1652603227.6395912},
'tag_criticality': 'offline'},
'192-168-0-146.fritz.box': {'ipaddress': '192.168.0.146',
'meta_data': {'created_at': 1644259627.8543644,
'created_by': 'Network scan',
'updated_at': 1652338797.0650318},
'updated_at': 1652603227.6399276},
'tag_criticality': 'offline'},
'192.168.0.102': {'ipaddress': '192.168.0.102',
'meta_data': {'created_at': 1646161747.8135607,
'created_by': 'Network scan',
'updated_at': 1652338797.0651226},
'updated_at': 1652603227.6402547},
'tag_criticality': 'offline'},
'192.168.0.104': {'ipaddress': '192.168.0.104',
'meta_data': {'created_at': 1642876268.622854,
'created_by': 'Network scan',
'updated_at': 1652338797.0652134},
'updated_at': 1652603227.6406226},
'tag_criticality': 'offline'},
'192.168.0.105': {'ipaddress': '192.168.0.105',
'meta_data': {'created_at': 1634659520.7765539,
'created_by': 'Network scan',
'updated_at': 1652338797.065303},
'updated_at': 1652603227.6409495},
'tag_criticality': 'offline'},
'192.168.0.107': {'ipaddress': '192.168.0.107',
'meta_data': {'created_at': 1645988828.9398084,
'created_by': 'Network scan',
'updated_at': 1652338797.0653925},
'updated_at': 1652603227.6412728},
'tag_criticality': 'offline'},
'192.168.0.109': {'ipaddress': '192.168.0.109',
'meta_data': {'created_at': 1634659520.7826385,
'created_by': 'Network scan',
'updated_at': 1652338797.0654821},
'updated_at': 1652603227.641596},
'tag_criticality': 'offline'},
'192.168.0.110': {'ipaddress': '192.168.0.110',
'meta_data': {'created_at': 1634659520.7761376,
'created_by': 'Network scan',
'updated_at': 1652338797.065572},
'updated_at': 1652603227.6419194},
'tag_criticality': 'offline'},
'192.168.0.113': {'ipaddress': '192.168.0.113',
'meta_data': {'created_at': 1643481488.188326,
'created_by': 'Network scan',
'updated_at': 1652338797.0656614},
'updated_at': 1652603227.6422415},
'tag_criticality': 'offline'},
'192.168.0.116': {'ipaddress': '192.168.0.116',
'meta_data': {'created_at': 1642789810.5959208,
'created_by': 'Network scan',
'updated_at': 1652338797.065752},
'updated_at': 1652603227.6425662},
'tag_criticality': 'offline'},
'192.168.0.120': {'ipaddress': '192.168.0.120',
'meta_data': {'created_at': 1640628312.3986723,
'created_by': 'Network scan',
'updated_at': 1652338797.065841},
'updated_at': 1652603227.6428895},
'tag_criticality': 'offline'},
'192.168.0.126': {'ipaddress': '192.168.0.126',
'meta_data': {'created_at': 1643049188.2437932,
'created_by': 'Network scan',
'updated_at': 1652338797.0659292},
'updated_at': 1652603227.6432111},
'tag_criticality': 'offline'},
'192.168.0.127': {'ipaddress': '192.168.0.127',
'meta_data': {'created_at': 1642789810.595435,
'created_by': 'Network scan',
'updated_at': 1652338797.0660186},
'updated_at': 1652603227.643531},
'tag_criticality': 'offline'},
'192.168.0.128': {'ipaddress': '192.168.0.128',
'meta_data': {'created_at': 1635178268.2743173,
'created_by': 'Network scan',
'updated_at': 1652338797.066107},
'updated_at': 1652603227.6438513},
'tag_criticality': 'offline'},
'192.168.0.132': {'ipaddress': '192.168.0.132',
'meta_data': {'created_at': 1642011668.1575994,
'created_by': 'Network scan',
'updated_at': 1652338797.0661962},
'updated_at': 1652603227.6441705},
'tag_criticality': 'offline'},
'192.168.0.136': {'ipaddress': '192.168.0.136',
'meta_data': {'created_at': 1644086711.854868,
'created_by': 'Network scan',
'updated_at': 1652338797.0662856},
'updated_at': 1652603227.6445396},
'tag_criticality': 'offline'},
'192.168.0.145': {'ipaddress': '192.168.0.145',
'meta_data': {'created_at': 1643395028.6646285,
'created_by': 'Network scan',
'updated_at': 1652338797.066375},
'updated_at': 1652603227.6448662},
'tag_criticality': 'offline'},
'192.168.0.147': {'ipaddress': '192.168.0.147',
'meta_data': {'created_at': 1634659520.7763453,
'created_by': 'Network scan',
'updated_at': 1652338797.066464},
'updated_at': 1652603227.645189},
'tag_criticality': 'offline'},
'192.168.0.149': {'ipaddress': '192.168.0.149',
'meta_data': {'created_at': 1634918888.6064017,
'created_by': 'Network scan',
'updated_at': 1652338797.066553},
'updated_at': 1652603227.6455095},
'tag_criticality': 'offline'},
'2e001c269bf8329b.fritz.box': {'ipaddress': '192.168.0.27',
'meta_data': {'created_at': 1642271048.2362373,
'created_by': 'Network scan',
'updated_at': 1652338797.0666423},
'updated_at': 1652603227.6458282},
'tag_criticality': 'offline'},
'Android-2.fritz.box': {'ipaddress': '192.168.0.117',
'meta_data': {'created_at': 1636478228.9067883,
'created_by': 'Network scan',
'updated_at': 1652338797.066732},
'updated_at': 1652603227.64615},
'tag_criticality': 'offline'},
'Android-3.fritz.box': {'ipaddress': '192.168.0.106',
'meta_data': {'created_at': 1635091813.683196,
'created_by': 'Network scan',
'updated_at': 1652338797.066821},
'updated_at': 1652603227.6464665},
'tag_criticality': 'offline'},
'Android-5.fritz.box': {'ipaddress': '192.168.0.108',
'meta_data': {'created_at': 1637342828.741417,
'created_by': 'Network scan',
'updated_at': 1652338797.0669305},
'updated_at': 1652603227.6467862},
'tag_criticality': 'offline'},
'Android-6.fritz.box': {'ipaddress': '192.168.0.118',
'meta_data': {'created_at': 1642616891.4934466,
'created_by': 'Network scan',
'updated_at': 1652338797.067019},
'updated_at': 1652603227.64711},
'tag_criticality': 'offline'},
'Android.fritz.box': {'ipaddress': '192.168.0.103',
'meta_data': {'created_at': 1634659520.7756755,
'created_by': 'Network scan',
'updated_at': 1652338797.0671093},
'updated_at': 1652603227.6474328},
'tag_criticality': 'offline'},
'ESP-271183.fritz.box': {'ipaddress': '192.168.0.114',
'meta_data': {'created_at': 1642530429.0000792,
'created_by': 'Network scan',
'updated_at': 1652338797.0671988},
'updated_at': 1652603227.6477537},
'tag_criticality': 'offline'},
'Echo-Show8.fritz.box': {'ipaddress': '192.168.0.119',
'meta_data': {'created_at': 1634659520.7741342,
'created_by': 'Network scan',
'updated_at': 1652338797.067288},
'updated_at': 1652603227.6480758},
'tag_criticality': 'offline'},
'FireTV-Guest.fritz.box': {'ipaddress': '192.168.0.121',
'meta_data': {'created_at': 1634659520.7832856,
'created_by': 'Network scan',
'updated_at': 1652338797.0673769},
'updated_at': 1652603227.6484406},
'tag_criticality': 'offline'},
'GW-A0C9A0D860E9.fritz.box': {'ipaddress': '192.168.0.25',
'meta_data': {'created_at': 1642271048.2290223,
'created_by': 'Network scan',
'updated_at': 1652338797.0674653},
'updated_at': 1652603227.6487768},
'tag_criticality': 'offline'},
'LGH-00058781.fritz.box': {'ipaddress': '192.168.0.133',
'meta_data': {'created_at': 1652343847.6942358,
'created_by': 'Network scan',
'updated_at': 1652603227.6491046},
'tag_criticality': 'offline'},
'NodeMCU-1_1.fritz.box': {'ipaddress': '192.168.0.143',
'meta_data': {'created_at': 1641406448.4647152,
'created_by': 'Network scan',
'updated_at': 1652338797.0675542},
'updated_at': 1652603227.649429},
'tag_criticality': 'offline'},
'Ring-526584.fritz.box': {'ipaddress': '192.168.0.37',
'meta_data': {'created_at': 1642357512.4617114,
'created_by': 'Network scan',
'updated_at': 1652338797.067643},
'updated_at': 1652603227.6497495},
'tag_criticality': 'offline'},
'T440p.fritz.box': {'ipaddress': '192.168.0.144',
'meta_data': {'created_at': 1646075288.481161,
'created_by': 'Network scan',
'updated_at': 1652338797.0677316},
'updated_at': 1652603227.65007},
'tag_criticality': 'offline'},
'T450s.fritz.box': {'ipaddress': '192.168.0.89',
'meta_data': {'created_at': 1635869948.9909117,
'created_by': 'Network scan',
'updated_at': 1652338797.0678205},
'updated_at': 1652603227.65039},
'tag_criticality': 'offline'},
'TRADFRI-Gateway-a0c9a0d860e9.fritz.box': {'ipaddress': '192.168.0.22',
'meta_data': {'created_at': 1634659520.7759254,
'created_by': 'Network '
'scan',
'updated_at': 1652338797.0679102},
'updated_at': 1652603227.650709},
'tag_criticality': 'offline'},
'TahomaBox.fritz.box': {'ipaddress': '192.168.0.21',
'meta_data': {'created_at': 1634659520.782859,
'created_by': 'Network scan',
'updated_at': 1652338797.0679998},
'updated_at': 1652603227.6510298},
'tag_criticality': 'offline'},
'XBOXONE.fritz.box': {'ipaddress': '192.168.0.129',
'meta_data': {'created_at': 1641233529.7772737,
'created_by': 'Network scan',
'updated_at': 1652338797.068089},
'updated_at': 1652603227.6513557},
'tag_criticality': 'offline'},
'Xiaomi-Mi9T.fritz.box': {'ipaddress': '192.168.0.142',
'meta_data': {'created_at': 1634659520.7824206,
'created_by': 'Network scan',
'updated_at': 1652338797.068179},
'updated_at': 1652603227.6516745},
'tag_criticality': 'offline'},
'amazon-f039d8527.fritz.box': {'ipaddress': '192.168.0.31',
'meta_data': {'created_at': 1642357512.468196,
'created_by': 'Network scan',
'updated_at': 1652338797.0682685},
'updated_at': 1652603227.6519914},
'tag_criticality': 'offline'},
'blink-sync-module.fritz.box': {'ipaddress': '192.168.0.32',
'meta_data': {'created_at': 1642357512.46937,
'created_by': 'Network scan',
'updated_at': 1652338797.0684037},
'updated_at': 1652603227.6523542},
'tag_criticality': 'offline'},
'fritz.powerline': {'ipaddress': '192.168.0.24',
'meta_data': {'created_at': 1642271048.235319,
'created_by': 'Network scan',
'updated_at': 1652338797.0684936},
'updated_at': 1652603227.6526818},
'tag_criticality': 'offline'},
'gateway-1206-2140-8817.fritz.box': {'ipaddress': '192.168.0.26',
'meta_data': {'created_at': 1642271048.2357957,
'created_by': 'Network '
'scan',
'updated_at': 1652338797.0685835},
'updated_at': 1652603227.6530066},
'tag_criticality': 'offline'},
'localhost': {'meta_data': {'created_at': 1598003642.793133,
'created_by': 'cmkadmin',
'updated_at': 1652338797.0686746}},
'updated_at': 1652603227.6533253}},
'neff-dishwasher-401010425335001522.fritz.box': {'ipaddress': '192.168.0.124',
'meta_data': {'created_at': 1634659520.7830703,
'created_by': 'Network '
'scan',
'updated_at': 1652338797.068765},
'updated_at': 1652603227.6536696},
'tag_criticality': 'offline'},
'predator.fritz.box': {'ipaddress': '192.168.0.115',
'meta_data': {'created_at': 1634659520.7817087,
'created_by': 'Network scan',
'updated_at': 1652338797.0688546},
'updated_at': 1652603227.6539948},
'tag_criticality': 'offline'},
'puppet.realm.local': {'ipaddress': '192.168.0.99',
'meta_data': {'created_at': 1634659520.7819686,
'created_by': 'Network scan',
'updated_at': 1652338797.0689433},
'updated_at': 1652603227.654318},
'tag_criticality': 'offline'}})
+1 -1
View File
@@ -2,4 +2,4 @@
# encoding: utf-8
rule_packs += \
[{'id': 'eventconsoletest', 'title': 'Simple rule pack for testing', 'disabled': False, 'rules': [{'id': 'syno6', 'description': 'Drop all SYSTEM: Last message repeat', 'comment': '2022-03-31 caelebfi: created rule\n', 'docu_url': '', 'disabled': False, 'drop': True, 'state': -1, 'sl': {'value': 0, 'precedence': 'message'}, 'actions': [], 'actions_in_downtime': True, 'cancel_actions': [], 'cancel_action_phases': 'always', 'autodelete': False, 'event_limit': None, 'match': 'SYSTEM: Last message.*', 'invert_matching': False}, {'id': 'syno5', 'description': 'Drop all messages related SMB', 'comment': '2022-03-30 caelebfi: created rule\n', 'docu_url': '', 'disabled': False, 'drop': True, 'state': -1, 'sl': {'value': 0, 'precedence': 'message'}, 'actions': [], 'actions_in_downtime': True, 'cancel_actions': [], 'cancel_action_phases': 'always', 'autodelete': False, 'event_limit': None, 'match': '(.*)CIFS(.*)', 'invert_matching': False, 'hits': 20}, {'id': 'syno4', 'description': 'Drop messages from check_mk-Server', 'comment': '2022-03-30 caelebfi: created rule\n', 'docu_url': '', 'disabled': False, 'drop': True, 'state': -1, 'sl': {'value': 0, 'precedence': 'message'}, 'actions': [], 'actions_in_downtime': True, 'cancel_actions': [], 'cancel_action_phases': 'always', 'autodelete': False, 'event_limit': None, 'match': '(.*)Gorden(.*)192.168.0.99(.*)', 'invert_matching': False, 'hits': 1279}, {'id': 'syno2', 'description': "If system doesn't get its external IP", 'comment': '2022-03-30 caelebfi: check log for messages of failed message about getting the external IP\n', 'docu_url': '', 'disabled': False, 'drop': False, 'state': 2, 'sl': {'value': 0, 'precedence': 'message'}, 'actions': ['emailcrit'], 'actions_in_downtime': True, 'cancel_actions': [], 'cancel_action_phases': 'always', 'autodelete': False, 'event_limit': None, 'match': '.*failed to get External IP.*', 'invert_matching': False, 'hits': 0}, {'id': 'syno', 'description': 'If someone get blocked trying to connect to rsync', 'comment': '2022-03-30 caelebfi: modified text to match\n', 'docu_url': '', 'disabled': False, 'drop': False, 'state': 1, 'sl': {'value': 0, 'precedence': 'message'}, 'actions': ['emailwarn'], 'actions_in_downtime': True, 'cancel_actions': [], 'cancel_action_phases': 'always', 'autodelete': False, 'event_limit': None, 'match': '.*RSYNC.*', 'invert_matching': False, 'hits': 0}, {'id': 'catchall', 'description': 'All events that did not match any rule', 'comment': '2022-03-30 caelebfi: created rule\n', 'docu_url': '', 'disabled': False, 'drop': False, 'state': 0, 'sl': {'value': 0, 'precedence': 'message'}, 'actions': [], 'actions_in_downtime': True, 'cancel_actions': [], 'cancel_action_phases': 'always', 'autodelete': False, 'event_limit': None, 'match': '.*', 'invert_matching': False, 'hits': 49}], 'hits': 1348}, {'id': 'default', 'title': 'Default rule pack', 'disabled': False, 'rules': [], 'hits': 0}]
[{'id': 'eventconsoletest', 'title': 'Simple rule pack for testing', 'disabled': False, 'rules': [{'id': 'syno6', 'description': 'Drop all SYSTEM: Last message repeat', 'comment': '2022-03-31 caelebfi: created rule\n', 'docu_url': '', 'disabled': False, 'drop': True, 'state': -1, 'sl': {'value': 0, 'precedence': 'message'}, 'actions': [], 'actions_in_downtime': True, 'cancel_actions': [], 'cancel_action_phases': 'always', 'autodelete': False, 'event_limit': None, 'match': 'SYSTEM: Last message.*', 'invert_matching': False, 'hits': 264}, {'id': 'syno5', 'description': 'Drop all messages related SMB', 'comment': '2022-03-30 caelebfi: created rule\n', 'docu_url': '', 'disabled': False, 'drop': True, 'state': -1, 'sl': {'value': 0, 'precedence': 'message'}, 'actions': [], 'actions_in_downtime': True, 'cancel_actions': [], 'cancel_action_phases': 'always', 'autodelete': False, 'event_limit': None, 'match': '(.*)CIFS(.*)', 'invert_matching': False, 'hits': 415}, {'id': 'syno4', 'description': 'Drop messages from check_mk-Server', 'comment': '2022-03-30 caelebfi: created rule\n', 'docu_url': '', 'disabled': False, 'drop': True, 'state': -1, 'sl': {'value': 0, 'precedence': 'message'}, 'actions': [], 'actions_in_downtime': True, 'cancel_actions': [], 'cancel_action_phases': 'always', 'autodelete': False, 'event_limit': None, 'match': '(.*)Gorden(.*)192.168.0.99(.*)', 'invert_matching': False, 'hits': 46274}, {'id': 'syno2', 'description': "If system doesn't get its external IP", 'comment': '2022-03-30 caelebfi: check log for messages of failed message about getting the external IP\n', 'docu_url': '', 'disabled': False, 'drop': False, 'state': 2, 'sl': {'value': 0, 'precedence': 'message'}, 'actions': ['emailcrit'], 'actions_in_downtime': True, 'cancel_actions': [], 'cancel_action_phases': 'always', 'autodelete': False, 'event_limit': None, 'match': '.*failed to get External IP.*', 'invert_matching': False, 'hits': 0}, {'id': 'syno', 'description': 'If someone get blocked trying to connect to rsync', 'comment': '2022-03-30 caelebfi: modified text to match\n', 'docu_url': '', 'disabled': False, 'drop': False, 'state': 1, 'sl': {'value': 0, 'precedence': 'message'}, 'actions': ['emailwarn'], 'actions_in_downtime': True, 'cancel_actions': [], 'cancel_action_phases': 'always', 'autodelete': False, 'event_limit': None, 'match': '.*RSYNC.*', 'invert_matching': False, 'hits': 3}, {'id': 'catchall', 'description': 'All events that did not match any rule', 'comment': '2022-03-30 caelebfi: created rule\n', 'docu_url': '', 'disabled': False, 'drop': True, 'state': 0, 'sl': {'value': 0, 'precedence': 'message'}, 'actions': [], 'actions_in_downtime': True, 'cancel_actions': [], 'cancel_action_phases': 'always', 'autodelete': False, 'event_limit': None, 'match': '.*', 'invert_matching': False}], 'hits': 47278}, {'id': 'default', 'title': 'Default rule pack', 'disabled': False, 'rules': [], 'hits': 0}]