I'm using zabbix 6.4
Basically I try to have a report of all ethernet port not used for 30 days on a switch.
My trigger look like this
count(/Switch/net.if.status[ifOperStatus.{#SNMPINDEX}],30d,"ne",2) = 0
Where ifOperStatus 2 mean link down. So if for the last 30d there is no other value than 2, tiggers.
Problem is, when a new switch is added with some ports down, there is only one value for that port which is 2, so it trigger.
I don't want to trigger if there is less than 30d of value to be checked. How to do that ?
Basically I try to have a report of all ethernet port not used for 30 days on a switch.
My trigger look like this
count(/Switch/net.if.status[ifOperStatus.{#SNMPINDEX}],30d,"ne",2) = 0
Where ifOperStatus 2 mean link down. So if for the last 30d there is no other value than 2, tiggers.
Problem is, when a new switch is added with some ports down, there is only one value for that port which is 2, so it trigger.
I don't want to trigger if there is less than 30d of value to be checked. How to do that ?
Comment