Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-7460

Return of {$USER.MACRO} in item PROTOTYPE names.

XMLWordPrintable

    • Sprint 105 (Oct 2023), Sprint 107 (Dec 2023)
    • 10

      If possible, change {$USER.MACRO} to be resolved during LLD. Not dropped completely. In this case it won't affect search by item name.

      Main use case was mapping of user macroses with context on template/host level to use on discovery phase. In this case {#LLD.MACRO} should be resolved first, then {$USER.MACRO}.

      Example of user+lld macro combination:

      {$FSDESCR:"{#FSNAME}"} 

      Example of mapping:

      Example of result after discovery:

      Workaround with JS preprocessing is available, but not quite elegant.

        1. image-2022-09-16-07-45-52-397.png
          180 kB
          Rodrigo P
        2. image-2022-09-16-07-46-19-270.png
          16 kB
          Rodrigo P
        3. image-2022-09-16-07-46-34-779.png
          54 kB
          Rodrigo P
        4. image-2022-12-07-23-53-27-689.png
          115 kB
          Eugene Mihaylovskiy
        5. macromap.PNG
          13 kB
          Andrey Tocko
        6. result.PNG
          45 kB
          Andrey Tocko
        7. screenshot-20220921_090635.png
          90 kB
          Josip Deanovic
        8. screenshot-20220922.png
          20 kB
          Larisa Grigorjeva
        9. screenshot-20220923.png
          8 kB
          Larisa Grigorjeva
        10. screenshot-20220924.png
          5 kB
          Larisa Grigorjeva
        11. screenshot-20220925.png
          13 kB
          Larisa Grigorjeva

            vso Vladislavs Sokurenko
            atocko Andrey Tocko (Inactive)
            Team A
            Votes:
            52 Vote for this issue
            Watchers:
            47 Start watching this issue

              Created:
              Updated:
              Resolved: