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

Details

    • Incident report
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.2
    • None
    • None
    • None

    Description

      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)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: