Ad Widget

Collapse

Trigger action doesn't fire as expected

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • artschooldropout
    Junior Member
    • Aug 2023
    • 11

    #1

    Trigger action doesn't fire as expected

    We are using Zabbix 7.0.18.

    I have two trigger actions:
    Click image for larger version

Name:	image.png
Views:	55
Size:	23.3 KB
ID:	510376
    The 'Network team notifications' action works well for sending notifications by email to all users who are a member of the 'Network' group. Additionally, I'm trying to set up the high-priority action that sends a Teams notification via a webhook, but it doesn't seem to work as expected. I have a user called 'Network-priority' set up with its own webhook media type which has been tested successfully.

    If I add my user 'Network-priority' to the 'Network' group, messages are sent as expected. This seems to prove that the user (and its media type) is working. However, I want this action to fire only when high severity triggers are received. The 'Network team high-priority notifications' action does not work. Here's what I've tried:

    - Changing conditions; using tags, using host group, and using trigger severity
    - Duplicating the "Network team notifications" action and adding teams notification to user "Network-priority"
    - Adding to action "Network team notifications" the teams notification to user "Network-priority"
    - Playing with the step sequencing of the actions, and disabling the "Network team notifications" action
    - Creating new group, putting "Network-priority" user in that group, and referencing the group instead of the user
    - Editing the "Network team notifications" action and replacing the existing email notification with a Teams notification to "Network-priority" user

    What am I missing?

    ​​
    Attached Files
  • Answer selected by artschooldropout at 16-01-2026, 16:58.
    BP_Vital
    Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Feb 2016
    • 50

    Does a user "Network-priority" have appropriate rights?
    Zabbix sends notifications only to those users that have at least 'read' permissions to the host that generated the event. At least one host of a trigger expression must be accessible.

    Comment

    • BP_Vital
      Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Feb 2016
      • 50

      #2
      Does a user "Network-priority" have appropriate rights?
      Zabbix sends notifications only to those users that have at least 'read' permissions to the host that generated the event. At least one host of a trigger expression must be accessible.

      Comment

      • artschooldropout
        Junior Member
        • Aug 2023
        • 11

        #3
        BP_Vital That was it! I I made a new group*, gave that group the appropriate permissions, and it works. Thanks very much.

        *Because apparently it's best practice to reference a group whenever possible in Zabbix

        Comment

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

          #4
          Originally posted by artschooldropout
          *Because apparently it's best practice to reference a group whenever possible in Zabbix
          Because Zabbix permissions work on hostgroup/usergroup matrix... Permission are given to usergroup not user. User can be in multiple groups and inherits permissions from them.

          Comment

          • artschooldropout
            Junior Member
            • Aug 2023
            • 11

            #5
            Originally posted by cyber

            Because Zabbix permissions work on hostgroup/usergroup matrix... Permission are given to usergroup not user. User can be in multiple groups and inherits permissions from them.
            Got it - thank you for the context!

            Comment

            Working...