-
New Feature Request
-
Resolution: Unresolved
-
Trivial
-
None
-
None
-
None
Trigger expressions can become very complex and dificult to read and understand in some specific scenarios.
I would be able to make annotations INSIDE trigger expressions so anyone looking at it would understand the logic.
Something like:
{template:hwBgpPeerState.[{#SNMPINDEX}].last()} <> 6 // If peer state is not 6 and {template:hwBgpPeerState.[{#SNMPINDEX}].diff()} = 1 // ... and changed state and {template:hwBgpPeerAdminStatus.[{#SNMPINDEX}].last()} = 2 // adminstatus = 2 means 'enabled'