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

LLD macros not expanded when creating pre-processing entries

    XMLWordPrintable

Details

    • Problem report
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.4.4
    • None
    • Server (S)
    • None
    • Centos 6.9

    Description

      I am creating a discovery rule which uses an external command to generate the LLD JSON data. as part of this I want to create an item with a JSON pre-process entry based on one of the LLD macro values {#JSONPATH}, however the LLD macros do not seem to be expanded in the pre-process data items when the item is created from the prototype. If I use the Macro value in the item data it is expanded but macro values in the pre-process screen are not expanded.
      It would seem that this is simply a matter of calling the macro subsititution code when these values are created?

      Note I think this is different to other requests as I am only looking for a static expansion of the Macro on the CREATION of the item - I am not looking for macro expansion by the pre-process parser once the item is created.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              djmuk David Mitchell
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: