This repository has been archived on 2024-05-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

23 lines
834 B
Makefile

# Created by WATO
actions = [{'action': ('email',
{'body': 'There has been a WARNING on $HOST$:\n\n$TEXT$\n',
'subject': 'Warning: an Event occured on $HOST$',
'to': 'admin@solusar.de'}),
'disabled': False,
'hidden': False,
'id': 'emailwarn',
'title': 'Mail WARN event to user'},
{'action': ('email',
{'body': 'There has been a CRITICAL on $HOST$:\n\n$TEXT$\n',
'subject': 'Critical: an Event occured on $HOST$',
'to': 'admin@solusar.de'}),
'disabled': False,
'hidden': False,
'id': 'emailcrit',
'title': 'Mail CRIT event to user'}]
event_limit = {'by_host': {'action': 'delete_oldest', 'limit': 100},
'by_rule': {'action': 'delete_oldest', 'limit': 50},
'overall': {'action': 'delete_oldest', 'limit': 3000}}
history_lifetime = 30