-
Incident report
-
Resolution: Fixed
-
Minor
-
2.2.9
$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 %