Extract alert addresses

munin-openbsd
Jérémy Lecour 7 years ago committed by Jérémy Lecour
parent dda436a53d
commit 44021346e6

1
.gitignore vendored

@ -1,2 +1,3 @@
/.vagrant
*.retry
/vars/main.yml

@ -5,3 +5,8 @@ mysql_custom_tmpdir: ''
mysql_thread_cache_size: '{{ ansible_processor_cores }}'
mysql_innodb_buffer_pool_size: '{{ (ansible_memtotal_mb * 0.3) | int }}M'
default_alert_mail: root
general_alert_mail: Null
log2mail_alert_mail: Null

@ -1,24 +1,24 @@
file = /var/log/syslog
pattern = "is marked as crashed and should be repaired"
mailto = alert3@evolix.fr
mailto = {{ log2mail_alert_email | general_alert_email | default_alert_email }}
template = /etc/log2mail/mail
file = /var/log/syslog
pattern = "init function returned error"
mailto = alert3@evolix.fr
mailto = {{ log2mail_alert_email | general_alert_email | default_alert_email }}
template = /etc/log2mail/mail
file = /var/log/syslog
pattern = "try to repair it"
mailto = alert3@evolix.fr
mailto = {{ log2mail_alert_email | general_alert_email | default_alert_email }}
template = /etc/log2mail/mail
file = /var/log/syslog
pattern = "InnoDB: Fatal error"
mailto = alert3@evolix.fr
mailto = {{ log2mail_alert_email | general_alert_email | default_alert_email }}
template = /etc/log2mail/mail
file = /var/log/syslog
pattern = "as a STORAGE ENGINE failed"
mailto = alert3@evolix.fr
mailto = {{ log2mail_alert_email | general_alert_email | default_alert_email }}
template = /etc/log2mail/mail

Loading…
Cancel
Save