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

Macro function is ignored in item name, if text is added before the macro

XMLWordPrintable

    • S24-W34/35, S24-W36/37
    • 0.7

      Steps to reproduce:

      1. Create user macro: {$TEST} = VALUE
      2. Re-name one of the active items, change name to: {{$TEST}.regsub("VALUE", "TEST")}
      3. Save the changes
      4. Open Monitoring-> Latest data
      5. Check that name of the item is "TEST"
      6. Edit the same item
      7. Change the name to: Item name {{$TEST}.regsub("VALUE", "TEST")}
      8. See the result in Latest data

      Result:
      The macro function is not having any affect on the item's name, the item name is: Item name VALUE.

      Expected:
      Macro function should work as expected, and item's name should change to: Item name TEST.

      See video:

            ak Andrejs Kozlovs
            ngogolevs Nikita Gogolevs
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 2h
                2h