Ad Widget

Collapse

Trigger Action not filtering?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • coda_matt
    Junior Member
    • Nov 2022
    • 20

    #1

    Trigger Action not filtering?

    Hi everyone,

    I've created an action trigger to send an alert to a Mattermost channel. I want to filter so only a certain group of hosts send alerts to Mattermost. The operations work perfectly, just not the filter on the trigger.

    I have tried:
    • Adding a "Host group equals <my group>" condition, but it was sending all alerts to the Mattermost channel
    • Using condition using a tag: "Value of tag product equals <product name>", but it's still not filtering
    I've attached a screenshot. Any help would be appreciated.
    Click image for larger version

Name:	my trigger - sanitised.png
Views:	684
Size:	32.7 KB
ID:	457814
  • LenR
    Senior Member
    • Sep 2009
    • 1005

    #2
    Verify that the Zabbix users in the operations have at least read access to the hosts.

    Comment

    • coda_matt
      Junior Member
      • Nov 2022
      • 20

      #3
      LenR's comment sent me in the right direction.

      I got it working as I wanted:
      1. I created a trigger following the guide: https://www.zabbix.com/documentation...cations/action
      2. In the "Operation", I had it set to send to users with a user I called mattermost_product_alerts
      3. In the user configuration, I put mattermost_product_alerts in the product group
      4. Finally, I gave that product group read/write permissions to the host group I wanted alerts for
      Other things I did:
      1. The trigger condition has "value of tag" with the machines in the host group all tagged to match
      From my testing, just having the tag doesn't limit what alerts are generated.

      Comment

      Working...