ansible-roles/evolinux-base/templates/log2mail/evolinux-defaults.j2

17 lines
488 B
Plaintext
Raw Normal View History

# {{ ansible_managed }}
file = /var/log/syslog
pattern = "Out of memory: Kill"
mailto = {{ log2mail_alert_email or general_alert_email | mandatory }}
template = /etc/log2mail/mail
file = /var/log/syslog
pattern = "memory read error"
mailto = {{ log2mail_alert_email or general_alert_email | mandatory }}
template = /etc/log2mail/mail
file = /var/log/cron.log
pattern = "Syntax error"
mailto = {{ log2mail_alert_email or general_alert_email | mandatory }}
template = /etc/log2mail/mail