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

Comments and annotations inside trigger expression

    XMLWordPrintable

Details

    • New Feature Request
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • Frontend (F)
    • None

    Description

      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'

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: