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

    • Problem report
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.4.1
    • 4.4.2rc1, 5.0.0alpha1, 5.0 (plan)
    • Server (S)
    • Docker image zabbix/zabbix-server-mysql:centos-4.4.1 running on Docker-CE 19.03.4
    • Team A
    • Sprint 58 (Nov 2019)
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: