-
Documentation task
-
Resolution: Fixed
-
Minor
-
None
-
None
-
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)