Is your Zabbix not sending email alerts? We can help you.
Zabbix mail notification is a cool feature that helps us stay updated with the errors our Server faces.
At Bobcares, we often fix errors related to Zabbix as a part of our Server Management Services.
Today, let’s have a look at the reason for this error to occur. We’ll also see how our Support Engineers fix this error.
Why doesn’t Zabbix send email alerts?
In Zabbix, the notification can be set to receive from an email account. It helps us to monitor the alerts quickly.
The common reason for the failure is because of incorrect Mail configuration in Zabbix.
Other reasons are the Zabbix administrator group or if the Action configuration is incorrect.
Let’s now discuss how our Support Engineers resolve this error for our customers.
How we fix Zabbix not sending email alerts
Recently one of our customers contacted us saying that he was not able to receive email alerts. Let’s see how our Support Engineers fix this problem.
Zabbix Mail configuration incorrect
We followed the below steps to fix the email alerts problem in Zabbix.
1. First, we click on Administration then we select Media types.
2. Next, we click on Email from the pre-defined Media types.
3. On the Email properties screen, we enter the below details.
SMTP server - E-mail server IP address or Hostname.
SMTP server port - SMTP port of the e-mail server.
SMTP helo - Domain name of your e-mail address.
SMTP email - the E-mail address to send notification
Connection Security - The security protocol to connect to the E-mail server.
Authentication - The username and password of the e-mail account
4. Next, check the Enabled option.
5. Once we add the details we click on the Add button.
After this change, the customer was able to receive the mail successfully.
Email notification not sending for Zabbix administrators group
Recently one of our customers contacted us regarding the email not sending issue. On analyzing the Zabbix we found that the action was not enabled. Let’s discuss how our Support Engineers enable action.
By default, only the user Admin is a member of the Zabbix administrators group. Also, no mail accounts are associated with the account.
1. First, we verify if there are any email accounts associated with the administrator group.
2. On the user profile screen, We verify the Email configuration.
3. Then, in the Media tab, we click on the Disabled word to enable it.
Finally, the customer was able to receive emails after the change.
Action configuration incorrect
If we don’t enable the actions in the Zabbix the mail will fail to receive.
So it is very necessary to define what action should do. And this can be done in the Operations tab.
1. We click on New in operation tab which will open an operation form.
2. Here, we click on Add under the Send to Users block and select the right user.
3. Then we select ‘Email‘ as the value of Send only to.
4. After that, click on Add in the operation detail block.
Finally, the notification was sent successfully.
[Need further assistance with Zabbix errors? – We’ll help you]
Conclusion
In short, incorrect configuration in Zabbix will cause the error. Also, we have discussed how our Support Engineers correct different configurations to resolve the error.
Thanks, helped to solve my issue. Action Button Enabled was not ticked.
Best Regards
Marcus