If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to REGISTER before you can post. To start viewing messages, select the forum that you want to visit from the selection below.
I don't believe there is any option in Zabbix to use a fail over SMTP server. But that would be a nice feature.
I think there are 2 ways I can think to accomplish this, but both are a little complex.
The first way would be set up an SMTP forwarding server on your zabbix host (like sendmail). Zabbix would then send mail to this local SMTP server. The SMTP server would then be configured to use MX records in DNS to resolve the precedence of delivery. So then your failover server would be at a much lower priority than the main server in DNS.
The 2nd way would be to use a TCP proxy service that could do connection failover for you. I happened to find this link: https://crossroads.e-tunity.com
If my zabbix server was responsible to direct delivery of e-mail, I would do the first. However it is more likely that hosts on a LAN forward everything to "smart hosts" in which the 2nd would be preferred and easier (especially if DNS MX is not already setup and you do not have access to change this).
Crossroads doesn't seem to have pre-compiled packages, so you will need to compile and install on your own.
Hi james first of all Thank you for your response!
I found a way to solve the problem by install mailutils service on zabbix server
and than run a script that send mail vie this service if the smtp down trigger is activate.
Comment