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

Allow to use temporal trigger functions without item context

XMLWordPrintable

      Trigger functions always require an item to attach to. In the case of time(), this bloats the expression, while actually there is no connection to the item at all:

      {host:item.time(0)} > 010000 & {host:item.time(0)} < 020000
      
      time() > 010000 & time() < 020000
      

      On the other hand, that would allow for trigger expressions without an item reference at all. I suppose that'd break everything.

            Unassigned Unassigned
            volter Volker Fröhlich
            Votes:
            14 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: