Can I ask for an assistance on how to do this.
My requirement is to have an alert where I can receive an email if an error occurred on an application we have on Linux.
It will display on the dashboard and send an email about the error with the error log.
I tried by making a log monitoring item on a host and use that item for a trigger:
{Odoo Server:log["/var/log/gold/gold-server.log",,,100].regexp("\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2},\d+\s\d+\sERROR")}>0
It only sends me the lines on the emails.
Can anyone help me?
My requirement is to have an alert where I can receive an email if an error occurred on an application we have on Linux.
It will display on the dashboard and send an email about the error with the error log.
I tried by making a log monitoring item on a host and use that item for a trigger:
{Odoo Server:log["/var/log/gold/gold-server.log",,,100].regexp("\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2},\d+\s\d+\sERROR")}>0
It only sends me the lines on the emails.
Can anyone help me?
Comment