The last emails we received were right before I deleted a user from the Zabbix administrators group and created two new accounts and added them to it. So these have separate accounts.
The user Admin's media types is configured to send emails but does not send any them any more.
As an experiment I also setup the media type of one of the new accounts to send emails also. I then created a new host that will trigger an email because the ping will fail since it does not exist which used to send an email. No email and no sound either. Stumped.
Report problems to Zabbix administrators via email
Maintenance status not in maintenance
Trigger value = PROBLEM
Trigger severity >= Warning
Send message to user groups: Zabbix administrators via Email
Enabled
Step From 1 To 1 (0 - infinitely)
Step duration 0 (minimum 60 seconds, 0 - use action default)
Operation type
Send to User groups
User group
Zabbix administrators
Zabbix administrators Users (3) Admin (Zabbix Administrator),
No changes were made to the servers settings of the Media types.
"cannot connect to SMTP server "mail.ptera.net": cannot connect to [[mail.ptera.net]:25]: [101] Network is unreachable"
The event details says can not find mail.ptera.net network unreachable and yet when I ping and nslookup from the server...
> nslookup mail.ptera.net
Server: 69.28.32.16
Address: 69.28.32.16#53
Name: mail.ptera.net
Address: 69.28.32.18
> ping -c 2 69.28.32.18
PING 69.28.32.18 (69.28.32.18) 56(84) bytes of data.
64 bytes from 69.28.32.18: icmp_seq=1 ttl=64 time=0.183 ms
64 bytes from 69.28.32.18: icmp_seq=2 ttl=64 time=0.131 ms
--- 69.28.32.18 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 0.131/0.157/0.183/0.026 ms
Here is the problem and I do not know how to fix. I fixed the ipv6 address lookup by adding the ipv6 AAAA record for the email server to our DNS. However zabbix stops at the refusal to connect to the IPV6 and does not go on to try the IPV4 address to connect. Here is the result using telnet from the zabbix server.
[root@zabbix ~]# telnet mail.ptera.net 25
Trying 2604:3b80:0:32::18...
telnet: connect to address 2604:3b80:0:32::18: Connection refused
Trying 69.28.32.18...
Connected to mail.ptera.net.
Escape character is '^]'.
220 12A-mail.ptera.net NO UCE ESMTP
QUIT
221 2.0.0 Bye
Connection closed by foreign host.
The user Admin's media types is configured to send emails but does not send any them any more.
As an experiment I also setup the media type of one of the new accounts to send emails also. I then created a new host that will trigger an email because the ping will fail since it does not exist which used to send an email. No email and no sound either. Stumped.
Report problems to Zabbix administrators via email
Maintenance status not in maintenance
Trigger value = PROBLEM
Trigger severity >= Warning
Send message to user groups: Zabbix administrators via Email
Enabled
Step From 1 To 1 (0 - infinitely)
Step duration 0 (minimum 60 seconds, 0 - use action default)
Operation type
Send to User groups
User group
Zabbix administrators
Zabbix administrators Users (3) Admin (Zabbix Administrator),
No changes were made to the servers settings of the Media types.
"cannot connect to SMTP server "mail.ptera.net": cannot connect to [[mail.ptera.net]:25]: [101] Network is unreachable"
The event details says can not find mail.ptera.net network unreachable and yet when I ping and nslookup from the server...
> nslookup mail.ptera.net
Server: 69.28.32.16
Address: 69.28.32.16#53
Name: mail.ptera.net
Address: 69.28.32.18
> ping -c 2 69.28.32.18
PING 69.28.32.18 (69.28.32.18) 56(84) bytes of data.
64 bytes from 69.28.32.18: icmp_seq=1 ttl=64 time=0.183 ms
64 bytes from 69.28.32.18: icmp_seq=2 ttl=64 time=0.131 ms
--- 69.28.32.18 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 0.131/0.157/0.183/0.026 ms
Here is the problem and I do not know how to fix. I fixed the ipv6 address lookup by adding the ipv6 AAAA record for the email server to our DNS. However zabbix stops at the refusal to connect to the IPV6 and does not go on to try the IPV4 address to connect. Here is the result using telnet from the zabbix server.
[root@zabbix ~]# telnet mail.ptera.net 25
Trying 2604:3b80:0:32::18...
telnet: connect to address 2604:3b80:0:32::18: Connection refused
Trying 69.28.32.18...
Connected to mail.ptera.net.
Escape character is '^]'.
220 12A-mail.ptera.net NO UCE ESMTP
QUIT
221 2.0.0 Bye
Connection closed by foreign host.