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. screenshot-20220925.png
          screenshot-20220925.png
          13 kB
        2. screenshot-20220924.png
          screenshot-20220924.png
          5 kB
        3. screenshot-20220923.png
          screenshot-20220923.png
          8 kB
        4. screenshot-20220922.png
          screenshot-20220922.png
          20 kB
        5. screenshot-20220921_090635.png
          screenshot-20220921_090635.png
          90 kB
        6. result.PNG
          result.PNG
          45 kB
        7. macromap.PNG
          macromap.PNG
          13 kB
        8. image-2022-12-07-23-53-27-689.png
          image-2022-12-07-23-53-27-689.png
          115 kB
        9. image-2022-09-16-07-46-34-779.png
          image-2022-09-16-07-46-34-779.png
          54 kB
        10. image-2022-09-16-07-46-19-270.png
          image-2022-09-16-07-46-19-270.png
          16 kB
        11. image-2022-09-16-07-45-52-397.png
          image-2022-09-16-07-45-52-397.png
          180 kB

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

              Created:
              Updated:
              Resolved: