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

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

    XMLWordPrintable

Details

    • Change Request
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 6.0 (plan)
    • None
    • None

    Description

      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.

      Attachments

        1. image-2022-09-16-07-45-52-397.png
          image-2022-09-16-07-45-52-397.png
          180 kB
        2. image-2022-09-16-07-46-19-270.png
          image-2022-09-16-07-46-19-270.png
          16 kB
        3. image-2022-09-16-07-46-34-779.png
          image-2022-09-16-07-46-34-779.png
          54 kB
        4. macromap.PNG
          macromap.PNG
          13 kB
        5. result.PNG
          result.PNG
          45 kB
        6. screenshot-20220921_090635.png
          screenshot-20220921_090635.png
          90 kB

        Issue Links

          Activity

            People

              sasha Alexander Vladishev
              atocko Andrey Tocko
              Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: