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

User macros with comma in context are incorrectly parsed inside trigger function parameters in triggers

    XMLWordPrintable

    Details

      Description

      Attempt to create trigger with expression:

      {lld macro test:dummy.echo[{$ECHO}].count(10m,{$MACRO:with , character})}=20
      

      results in error:

      Incorrect trigger function "count(10m,{$MACRO:with , character})" provided in expression. Invalid third parameter.
      

      I suspect that server wouldn't be happy to see such trigger function parameters either, because get_param_dyn() we use there is not aware of context based macros too.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            glebs.ivanovskis Glebs Ivanovskis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: