From d22118e673f74739353835f07ee9e0322d5f2300 Mon Sep 17 00:00:00 2001 From: caelebfi Date: Wed, 30 Mar 2022 14:32:31 +0200 Subject: [PATCH] Changed position of rule catchall --- mkeventd.d/wato/rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkeventd.d/wato/rules.mk b/mkeventd.d/wato/rules.mk index 57d87ac..1813e0d 100644 --- a/mkeventd.d/wato/rules.mk +++ b/mkeventd.d/wato/rules.mk @@ -2,4 +2,4 @@ # encoding: utf-8 rule_packs += \ -[{'id': 'eventconsoletest', 'title': 'Simple rule pack for testing', 'disabled': False, 'rules': [{'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}, {'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}], 'hits': 0}, {'id': 'default', 'title': 'Default rule pack', 'disabled': False, 'rules': [], 'hits': 0}] +[{'id': 'eventconsoletest', 'title': 'Simple rule pack for testing', 'disabled': False, 'rules': [{'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': 0}], 'hits': 0}, {'id': 'default', 'title': 'Default rule pack', 'disabled': False, 'rules': [], 'hits': 0}]