Hey guys.
I've created an SNMP fallback item and a few dependent items from it.
Now I wish to create more meaningful triggers with those dependent items.
For that I tried to use expression macros in the "event name" field, but they are not resolving correctly.
According to documentation, some functions are allowed as trigger event names.
As an example, the following trigger checks if the trap severity item is higher than 4, and the event name should use the trap title item.
The issue is that, when my trigger is true, the generated event does not resolve correctly the defined expression macro.
Any tips on how to enhance that trigger?
I've created an SNMP fallback item and a few dependent items from it.
Code:
SNMPTRAP |--SNMPTRAP Info |--SNMPTRAP Serial |--SNMPTRAP Severity |--SNMPTRAP Title
For that I tried to use expression macros in the "event name" field, but they are not resolving correctly.
According to documentation, some functions are allowed as trigger event names.
As an example, the following trigger checks if the trap severity item is higher than 4, and the event name should use the trap title item.
The issue is that, when my trigger is true, the generated event does not resolve correctly the defined expression macro.
Any tips on how to enhance that trigger?
Comment