Hello, relatively new to Zabbix, and have been trying to get email alerts up and running.
Been working through "Zabbix 4 Network Monitoring" by Patrik Uytterhoeven and Rihards Olups from Packt Publishing.
Near as I can tell, I've got everything setup correctly, but been having issues getting email alerts to send.
Testing the email media (using Office365 mail server), fails with "Connection timeout of 3 seconds exceeded when connecting to Zabbix server "localhost".
However, if I navigate to "Reports ~> Action Log" after a test action attempts to send an email alert, I'm able to see it failing because "Couldn't connect to server: Failed to connect to 2603:1036:902:16::2: Network is unreachable". IPv6 isn't setup/rolled out to this server, so it would fail attempting to connect to the IPv6 address of the SMTP server... Not sure why Zabbix is defaulting to attempt emails on IPv6 rather than IPv4.
I don't see anything in the /var/log/zabbix/zabbix_server.log indicating any other issues with email.
We're running Zabbix 4.2.8 on CentOS Linux 7 (Core) using the following packages installed from the Zabbix 4.0 repo;
zabbix-agent.x86_64
zabbix-release.noarch
zabbix-server-pgsql.x86_64
zabbix-web.noarch
zabbix-web-pgsql.noarch
Thanks in advance for any assistance
Been working through "Zabbix 4 Network Monitoring" by Patrik Uytterhoeven and Rihards Olups from Packt Publishing.
Near as I can tell, I've got everything setup correctly, but been having issues getting email alerts to send.
Testing the email media (using Office365 mail server), fails with "Connection timeout of 3 seconds exceeded when connecting to Zabbix server "localhost".
However, if I navigate to "Reports ~> Action Log" after a test action attempts to send an email alert, I'm able to see it failing because "Couldn't connect to server: Failed to connect to 2603:1036:902:16::2: Network is unreachable". IPv6 isn't setup/rolled out to this server, so it would fail attempting to connect to the IPv6 address of the SMTP server... Not sure why Zabbix is defaulting to attempt emails on IPv6 rather than IPv4.
I don't see anything in the /var/log/zabbix/zabbix_server.log indicating any other issues with email.
We're running Zabbix 4.2.8 on CentOS Linux 7 (Core) using the following packages installed from the Zabbix 4.0 repo;
zabbix-agent.x86_64
zabbix-release.noarch
zabbix-server-pgsql.x86_64
zabbix-web.noarch
zabbix-web-pgsql.noarch
Thanks in advance for any assistance
Comment