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

Macro {TRIGGER.ID} not working as expected on 4.4.1

    XMLWordPrintable

    Details

    • Type: Problem report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.4.1
    • Fix Version/s: 4.4.2rc1, 5.0.0alpha1, 5.0 (plan)
    • Component/s: Server (S)
    • Labels:
    • Environment:
      Docker image zabbix/zabbix-server-mysql:centos-4.4.1 running on Docker-CE 19.03.4
    • Team:
      Team A
    • Sprint:
      Sprint 58 (Nov 2019)
    • Story Points:
      0.25

      Description

      Steps to reproduce:

      1. Define tag directly on trigger. EX: TriggerID = {TRIGGER.ID}
      2. Perform steps to make this trigger to be triggered

      Result:
      Look on problems view to see the content of the tag.

      The tag we created (TriggerID) will have a value of {TRIGGER.ID}. Macro is not expanded with the actual trigger ID.
      Expected:
      That the tag would have the actual trigger ID in the value.

       

      However, it works if I put the tag on template level. Then it's filled correctly

        Attachments

          Activity

            People

            Assignee:
            vso Vladislavs Sokurenko
            Reporter:
            kjellml Kjell Magnar Lerberg
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: