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

Cannot use macro in trigger function parameter of the form #{$MACRO}

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • 1.8.2
    • None
    • None

      Several trigger functions accept an argument in two forms:
      number : number of seconds
      #num : number of items
      Macros can be used with first type of parameter but not with teh second one:
      {test:icmpping.max({$NITEMS})}=1 => OK
      {test:icmpping.max(#{$NITEMS})}=1 => Error message : {$NITEMS} is not a float or counter or macro for function (max)

            Unassigned Unassigned
            alixen Alixen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: