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

Unable to pass the LLD macro with macro function to the first parameter of "Prometheus pattern" preprocessing step for item prototypes

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 6.0.31rc1
    • None
    • API (A)
    • S24-W22/23
    • 0.5

      Steps to reproduce:

      1. Open "Create item prototype" form.
      2. Enter some name and key.
      3. Navigate to preprocessing tab.
      4. Add preprocessing step with:
        • Type: Prometheus pattern.
        • 1st parameter: {{#M}.regsub("^([0-9]+)", "{#M}: \1")}
      5. Press add button.

      Result:
      Unable to add the item prototype with macro function.


      Expected:
      No error occurs. Item prototype was successfully added.

            jfreibergs Janis Freibergs
            vmaksimovs Vladimirs Maksimovs
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: