ansible-roles/mysql/templates/log2mail.j2
Benoît S. 7a6b8451a9 Added "The total blob data length" pattern
This will detect this error:
[ERROR] InnoDB: The total blob data length (10066388) is greater than 10% of
the total redo log size (100663296). Please increase total redo log size.
2017-12-04 11:22:03 +01:00

30 lines
985 B
Django/Jinja

file = /var/log/syslog
pattern = "is marked as crashed and should be repaired"
mailto = {{ log2mail_alert_email or general_alert_email | mandatory }}
template = /etc/log2mail/mail
file = /var/log/syslog
pattern = "init function returned error"
mailto = {{ log2mail_alert_email or general_alert_email | mandatory }}
template = /etc/log2mail/mail
file = /var/log/syslog
pattern = "try to repair it"
mailto = {{ log2mail_alert_email or general_alert_email | mandatory }}
template = /etc/log2mail/mail
file = /var/log/syslog
pattern = "InnoDB: Fatal error"
mailto = {{ log2mail_alert_email or general_alert_email | mandatory }}
template = /etc/log2mail/mail
file = /var/log/syslog
pattern = "as a STORAGE ENGINE failed"
mailto = {{ log2mail_alert_email or general_alert_email | mandatory }}
template = /etc/log2mail/mail
file = /var/log/syslog
pattern = "The total blob data length"
mailto = {{ log2mail_alert_email or general_alert_email | mandatory }}
template = /etc/log2mail/mail