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

Allow resolution of macros in tags after macro function has been used

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • Frontend (F), Server (S)
    • None

      Currently, user macros resolve properly when used in tags. Also, macro functions can be used to extract specific values from the incoming data - i.e. {{ITEM.VALUE}.regsub}.
      However, if after using a macro function, the value extracted is in the form of a user macro - {$MACRO} - it is counted as a string.

      The idea is for these values also to resolve in these specific cases.
      Macro setup:

      Trigger tags:

      Tags on problem:

      The feature request is about resolving the {$TEST1} macro as being the result of the macro function.

        1. macros.PNG
          macros.PNG
          10 kB
        2. trigger tags.PNG
          trigger tags.PNG
          14 kB
        3. tags.PNG
          tags.PNG
          14 kB

            vmurzins Valdis Murzins
            ksalins Karlis Salins
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: