Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-5894

Comments and annotations inside trigger expression

XMLWordPrintable

    • Icon: New Feature Request New Feature Request
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • None
    • Frontend (F)
    • 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'

            vmurzins Valdis Murzins
            fernandolcx Fernando Chaves
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: