I am trying to adjust a trigger expression with the goal of it not triggering between 04:00 and 05:20.
I have found some possible solutions, but they are all for much older versions of Zabbix. I am running Zabbix 7 (beta), and it seems to follow the expression rules for Zabbix 6.4 LTS
This is the current expression for an item that checks for high bandwidth usage on a cisco switch:
(avg(/Cisco IOS by SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/Cisco IOS by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or
avg(/Cisco IOS by SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/Cisco IOS by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and
last(/Cisco IOS by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0
That expression works just fine, now I just need it to not trigger between 04:00 and 05:20.
Any help would be greatly appreciated.
I have found some possible solutions, but they are all for much older versions of Zabbix. I am running Zabbix 7 (beta), and it seems to follow the expression rules for Zabbix 6.4 LTS
This is the current expression for an item that checks for high bandwidth usage on a cisco switch:
(avg(/Cisco IOS by SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/Cisco IOS by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or
avg(/Cisco IOS by SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/Cisco IOS by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and
last(/Cisco IOS by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0
That expression works just fine, now I just need it to not trigger between 04:00 and 05:20.
Any help would be greatly appreciated.
Comment