Ad Widget

Collapse

Service outages don't send email

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cjyar
    Junior Member
    • Jun 2026
    • 6

    #1

    Service outages don't send email

    tl;dr:
    • Services don't send emails.
    • Triggers do send emails.
    • Services do send MS Teams notifications.
    I have a Service action that sends notifications via email, but it doesn't work. No emails are received, and nothing shows up in the Zabbix server log. But that same Service action also successfully sends notifications to MS Teams, so I know the Service action is being triggered. At the same time, I have a Trigger action that sends email alerts to the same people, and those emails are successfully delivered. There's something I don't understand here; can somebody explain what I'm missing?

    Here's the Service action:
    Click image for larger version

Name:	image.png
Views:	25
Size:	31.4 KB
ID:	514610

    And here's the Trigger action:
    Click image for larger version

Name:	image.png
Views:	19
Size:	33.8 KB
ID:	514611
  • kyus
    Senior Member
    • Feb 2024
    • 198

    #2
    I don't know which users you Have in Zabbix Administrators group, but I would check their permissions to said Service. If they don't have explicit permission to it, it won't work.

    Also, I'm not sure whether or not you can have 2 operations being the first step in your action. Maybe you can, I just never did it myself. So, I would try to set one of those operations as step 1 with 60 seconds duration, and the other one as step 2.

    Comment

    • cjyar
      Junior Member
      • Jun 2026
      • 6

      #3
      Thanks! I'm using my own user for testing, and I'm in the Zabbix Administrators group. I have the Super admin role.

      I'm not sure how to grant permissions on Services. I checked Users -> User groups, but that only allows setting permissions on templates and hosts (and host-based problem tags). I checked under Services, but I don't see anything there either. Under Users -> User roles, I can see the Super admin role has irrevocable read-write access to all Services.

      Comment

      • kyus
        Senior Member
        • Feb 2024
        • 198

        #4
        Yes, if you are using a user with Super Admin role you have rights to everything. Maybe it's worth trying to change your steps.

        Comment

        • cjyar
          Junior Member
          • Jun 2026
          • 6

          #5
          I tried changing the steps so it sends email first, then sends the Teams message a minute later. Teams message comes through, email still doesn't.

          Comment

          • cjyar
            Junior Member
            • Jun 2026
            • 6

            #6
            Aha! I found the problem. I found the Action log (Reports -> Action log), and it says it couldn't send the service alert emails because, "No message defined for media type." So I just went to Alerts -> Media types -> Email (HTML) -> Message templates, and I defined templates for Services. Don't know why those weren't defined out of the box, but they're there now. Service alerts work!

            Comment

            Working...