ansible-roles/mysql/files/log2mail.conf

25 lines
866 B
Plaintext

file = /var/log/syslog
pattern = "is marked as crashed and should be repaired"
mailto = {{ log2mail_alert_email | general_alert_email | default_alert_email }}
template = /etc/log2mail/mail
file = /var/log/syslog
pattern = "init function returned error"
mailto = {{ log2mail_alert_email | general_alert_email | default_alert_email }}
template = /etc/log2mail/mail
file = /var/log/syslog
pattern = "try to repair it"
mailto = {{ log2mail_alert_email | general_alert_email | default_alert_email }}
template = /etc/log2mail/mail
file = /var/log/syslog
pattern = "InnoDB: Fatal error"
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 = {{ log2mail_alert_email | general_alert_email | default_alert_email }}
template = /etc/log2mail/mail