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

Macros in keys do not get resolved in UI

    XMLWordPrintable

Details

    • Problem report
    • Resolution: Won't fix
    • Trivial
    • None
    • 5.0.17
    • Frontend (F)

    Description

      Steps to reproduce:

      1. Use a macro in a normal item key (not a discovery item)
      2. List items of template/host

      Result:
      See screenshot...

      Expected:
      The macro is resolved for the item name so I expected it to be resolved for the item key the same way.

       

      and how it looks when listed in a host/template item view:

      the {$SEARCHPATTERN} resolves to `tomcat` for Name but not for the `Key`

       

      Attachments

        1. image-2021-11-12-08-00-53-089.png
          8 kB
          Evren Yurtesen
        2. image-2021-11-12-08-02-06-884.png
          7 kB
          Evren Yurtesen
        3. image-2021-11-15-14-10-47-141.png
          20 kB
          Aleksey Volodin

        Issue Links

          Activity

            People

              avolodin Aleksey Volodin
              yurtesen Evren Yurtesen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: