Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-14313

Triggers with "All problems if tag values match" option do not work

XMLWordPrintable

    • Sprint 33
    • 1

      Steps to reproduce:

      1. create trapper item with value type "Character"
      2. create trigger:
        1. Problem expression: {host:trap.str("DOWN")}
        2. OK event generation: Recovery expression
        3. Recovery expression: {host:trap.str("UP")}
        4. PROBLEM event generation mode: Multiple
        5. OK event closes: All problems if tag values match
        6. Tag for matching: Object
        7.  Tags:
          1. .Service: Zabbix
          2. Object: {{ITEM.VALUE}.regsub("^([A-Za-z]+) ([A-Za-z]+) .*$", \2)}
      3. Send data:
        1. $ bin/zabbix_sender -z localhost -s host -k trap -o 'Object serviceA DOWN'
        2. $ bin/zabbix_sender -z localhost -s host -k trap -o 'Object serviceB DOWN'
        3. $ bin/zabbix_sender -z localhost -s host -k trap -o 'Object serviceC DOWN'
        4. $ bin/zabbix_sender -z localhost -s host -k trap -o 'Object serviceD DOWN'
        5. $ bin/zabbix_sender -z localhost -s host -k trap -o 'Object serviceA UP'

      Result:
      All problems will be resolved
      Expected:
      Problem with tag Object: serviceA should be closed.

            wiper Andris Zeila
            sasha Alexander Vladishev
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: