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. macromap.PNG
          macromap.PNG
          13 kB
        2. result.PNG
          result.PNG
          45 kB

        Issue Links

          Activity

            People

              sasha Alexander Vladishev
              atocko Andrey Tocko
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: