$1 macro in trigger description doesn't expand user macro for {TRIGGER.NAME} in action message

XMLWordPrintable

      $1 macro in trigger description can be used to refer to constant of trigger expression.
      It works if the constant is fixed value, but it doesn't work with user defined macro for {TRIGGER.NAME} in action message

      This works as expected:

      Trigger description: CPU user time is more than $1%
      Trigger expression: {hostname:system.cpu.util[,user]}>50
      Result of {TTIGGER.NAME} in action: CPU user time is more than 50%
      

      This also works as expected:

      Trigger description: CPU user time is more than {$CPU_LIMIT}%
      Trigger expression: {hostname:system.cpu.util[,user]}>{$CPU_LIMIT}
      Result of {TTIGGER.NAME} in action: CPU user time is more than 50%
      

      This doens't work:

      Trigger description: CPU user time is more than $1%
      Trigger expression: {hostname:system.cpu.util[,user]}>{$CPU_LIMIT}
      Result of {TTIGGER.NAME} in action: CPU user time is more than %
      

            Assignee:
            Unassigned
            Reporter:
            Kodai Terashima
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: