Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-20237

add trigger expression example to documentation with "not" operator

XMLWordPrintable

    • Team A
    • Documentation backlog
    • 0.25

      Here https://www.zabbix.com/documentation/5.0/manual/config/triggers/expression

      Surprisingly we do not have such examples with "not" in expression.
      I suggest to add this one as #10 (after #9), let's select complicated scenario.
      I tested it and it looks like working:

      {zabbix:system.cpu.load[all,avg1].min(5m)}>2 
      and not ({zabbix:system.cpu.load[all,avg1].dayofweek(0)}=7 and {zabbix:system.cpu.load[all,avg1].time(0)}>230000) 
      and not ({zabbix:system.cpu.load[all,avg1].dayofweek(0)}=1 and {zabbix:system.cpu.load[all,avg1].time(0)}<010000)
      

      The trigger may change its status to true any time except of 2 hours time window on a week change (Sunday 11:00 PM - Monday 1:00 AM)

            adancis Arturs Dancis
            zalex_ua Oleksii Zagorskyi
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: