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

      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.

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

              Created:
              Updated:
              Resolved: