Hello,
as the title indicates, i want to scan incoming e-mails for special attributes on the zabbix server. to be precise what i want to achieve:
We have a lot of different backup services for all kinds of software, is it the mysql backup, oracle, vmbackup via veeam, IBM TSM, single Rsync Jobs for NAS in branch offices, and so on. All of these are sending e-mails if the backup was done correct or if it failed, always with an "OK" or "ERROR" in the subject.
What i want to do: Sending all backup mails to a mailbox on the zabbix server, and zabbix should scan those mails (via external script it's quite easy to look into the mails for "ERROR" or "OK" and build a trigger around this) but zabbix should also check if it got a mail at all. At the moment we don't catch a full backup error because we cant handle the amount of mails and filter single mails out just because it wasnt delivered. So if we dont get a mail from a specific sender in the last 24 hours with at least ERROR or OK in the subject, the trigger should hit as well. This is not such a big problem with scripts on the linux side, but the whole thing should be manageable and editable by the first level support within zabbix, so a whole linux scripting thing is very uncool to manage for the first level support because they have to edit single files on the linux server to change configs or add mail-addresses.
anyone an idea or a similar setup?
kind regards
T-One
as the title indicates, i want to scan incoming e-mails for special attributes on the zabbix server. to be precise what i want to achieve:
We have a lot of different backup services for all kinds of software, is it the mysql backup, oracle, vmbackup via veeam, IBM TSM, single Rsync Jobs for NAS in branch offices, and so on. All of these are sending e-mails if the backup was done correct or if it failed, always with an "OK" or "ERROR" in the subject.
What i want to do: Sending all backup mails to a mailbox on the zabbix server, and zabbix should scan those mails (via external script it's quite easy to look into the mails for "ERROR" or "OK" and build a trigger around this) but zabbix should also check if it got a mail at all. At the moment we don't catch a full backup error because we cant handle the amount of mails and filter single mails out just because it wasnt delivered. So if we dont get a mail from a specific sender in the last 24 hours with at least ERROR or OK in the subject, the trigger should hit as well. This is not such a big problem with scripts on the linux side, but the whole thing should be manageable and editable by the first level support within zabbix, so a whole linux scripting thing is very uncool to manage for the first level support because they have to edit single files on the linux server to change configs or add mail-addresses.
anyone an idea or a similar setup?
kind regards
T-One
Comment