Ad Widget

Collapse

I am not getting emails for triggered alerts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • John_W
    Member
    • Apr 2026
    • 57

    #1

    I am not getting emails for triggered alerts

    I watched a recent Zabbix tutorial on YouTube and I have all the settings mentioned inthe video covered. I can use the Media-> Email test button and I get the email from the user email I should. I have the alert to send an email on anything with severity => "high".

    What are the common reasons a trigger is not sending an email that I can check?

  • John_W
    Member
    • Apr 2026
    • 57

    #2
    I rewatched this video, and I have all those steps covered.

    A

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 5008

      #3
      Most common reason is, that user, to whom you want to send that email, has no access to the data. Ie. your user does not belong to a usergroup, which has access to hostgroup, where is this host, that generates the event.

      Comment

      • John_W
        Member
        • Apr 2026
        • 57

        #4
        The user doesn't belong to a user group. When I try to assign one, I get a "Cannot update user" error and it gives me the database info which shows "SQL Statement execution has failed".

        Comment

        • John_W
          Member
          • Apr 2026
          • 57

          #5
          My support vendor was able to fix the database issue and I assigned the user who needs to send out the alerts to the internal user group. I haven't gotten any alerts yet. Would I get alerts for issues that have been around for some days, since the alert could not be sent out, or would I need to create a new alert to test the email alerts?

          Comment

          • cyber
            Senior Member
            Zabbix Certified SpecialistZabbix Certified Professional
            • Dec 2006
            • 5008

            #6
            You will not get any info about past events. Only new ones.

            Comment

            • John_W
              Member
              • Apr 2026
              • 57

              #7
              I had some switches go offline in the last few days, which caused the attached UPSes to go offline. The UPSes have a trigger on "Unavailable by ICMP Ping". I didn't get alerted by Zabbix. Here is the expression the trigger uses. max(/AHNL-IDFAU01/icmpping,#3)=0. The severity is set to High. My setting for sending an alert is High and above.

              Any tips on finding out why this is not sending an email?

              Comment

              • irontmp
                Senior Member
                • Sep 2023
                • 104

                #8
                Originally posted by John_W
                My support vendor was able to fix the database issue, and I assigned the user who needs to send out the alerts to the internal user group. I haven't received any alerts yet. I also found 24 Hour Plumber while looking into reliable service providers. Would I receive alerts for issues that have been around for a few days, since notifications couldn't be sent earlier, or would I need to create a new alert to test whether email notifications are working?
                Even if the email test works, the issue could be with the action conditions rather than SMTP settings. I'd first check that the trigger actually changes from OK to PROBLEM and that its severity matches the action condition. Also, make sure the receiving user has access to the host, their email media is enabled, and High severity is selected in their notification settings. Check that the action itself is enabled and has the correct user or user group assigned. Another thing worth checking is the Action log, as it can show whether Zabbix attempted to send the notification or skipped it because of a condition. Maintenance periods and time restrictions can also prevent alerts from being delivered.

                Comment

                • John_W
                  Member
                  • Apr 2026
                  • 57

                  #9
                  I've unplugged the network cable on a UPS in our office, and a new problem appeared for the host. It is one with a high priority. The user I send the alerts to is in the "internal" user group. How would I check that the internal group has access to the hosts? Email is enabled. All the severity types are listed in the media tab for this user. The trigger condition is set for Severity is greater than or equal to HIGH. I don't see any entries in the Action log at all.

                  Comment

                  • John_W
                    Member
                    • Apr 2026
                    • 57

                    #10
                    I found where to check the user and user group permissions. The group doesn't seem to have access, based on this screen-shot.
                    Click image for larger version

Name:	Screenshot 2026-12-02 at 10.31.20 AM.png
Views:	11
Size:	18.8 KB
ID:	518924



                    The User seems to have access to things, but I'm not sure if it has the right permissions to get a act on a trigger and send the email. The Permissions box at the top makes me think I need to add stuff.​

                    Click image for larger version

Name:	Screenshot 2026-12-02 at 10.30.49 AM.png
Views:	11
Size:	109.5 KB
ID:	518925

                    ​

                    Comment

                    • John_W
                      Member
                      • Apr 2026
                      • 57

                      #11

                      I believe I figured it out. The user group needs permissions for the host groups and it needs the permission to be "read". By default, it is Deny.

                      What confuses me is that I always thought the user that sends the email to the email address to alert all of us just needed to be sent the triggered issue. It was not monitoring the host. It was just being told to send an email. I thought the Zabbix server handled all that. So, adding permissions to the user group to Read a server that has the problem never came to my mind when troubleshooting.

                      Can I get clarification on how the steps of an alert works?



                      Click image for larger version

Name:	Screenshot 2026-12-02 at 11.46.12 AM.png
Views:	12
Size:	29.8 KB
ID:	518927

                      Comment

                      • alex_pager
                        Junior Member
                        • Dec 2026
                        • 1

                        #12
                        yeah that one catches a lot of people. zabbix only notifies a user who could see the problem in the frontend, so the user group needs at least read on the host group. media and severity only matter after that check passes

                        rough order is trigger goes to PROBLEM, event is created, action conditions get checked (your severity >= high), then for each recipient zabbix checks permissions on that host, then the media type sends. with no group having read, nobody qualified, which is prob why your action log was empty

                        since the UPSes sit behind those switches it might be worth adding a trigger dependency on the switch ping, so a dead switch gives you one alert instead of one per UPS

                        Comment

                        Working...