Ad Widget

Collapse

Trying to disable notifications(Actions) with Tags for specific triggers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shlomia
    Member
    • Jul 2020
    • 38

    #1

    Trying to disable notifications(Actions) with Tags for specific triggers

    Hi, So I'm trying to be able to stop/pause notifications (Actions) for specific triggers.
    Somebody mentioned on the forum that I should use tags on my triggers.
    for example I will create "Action" with no operation and set a condition as the following:
    Code:
    Value of tag disable-notifications equals true
    And then I can set on my triggers the "disable-notification = true" to disable notifications.
    The problem is, All my other actions are configured with conditions of host groups and not tags.
    So I will still receive a notification if the trigger is with tag "disable-notification = true".
    Is there an easier way to do it or I just need to add to all my other triggers which and actions tag "disable-notification = false / true" ?

    Thanks
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    Are you using the "Acknowledge" functionality of the web interface and the "Problem is not suppressed" condition in your actions?

    Comment

    • isaqueprofeta
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Aug 2020
      • 154

      #3
      All Actions on Zabbix are always processed in the order of creation from old to new (based on actionid of database).

      So, if you want to globally "not receive", you need to put on All your other actions the condition of "disable-notification NOT EQUAL true".

      Comment

      • shlomia
        Member
        • Jul 2020
        • 38

        #4
        Originally posted by isaqueprofeta
        All Actions on Zabbix are always processed in the order of creation from old to new (based on actionid of database).

        So, if you want to globally "not receive", you need to put on All your other actions the condition of "disable-notification NOT EQUAL true".
        Thank you, It's working!

        Comment

      Working...