Hi,
I have the following problem. Monitors Cisco switches using the template:
https://www.zabbix.com/integrations/cisco_snmp
If the interface is unavailable, a trigger is triggered and a notification is received. This works fine, but I'd like to achieve the following scenario when interface start flapping:
1. Gets one notification after interface down.
2. Get the next notification only after 5 minutes if the problem occurs again. For this period of 5 minutes, I don't want the trigger to fire while the interface is flapping.
Current trigger:
Problem: {$IFCONTROL:"{#IFNAME}"}=1 and (last(/Generic Cisco/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Generic Cisco/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Generic Cisco/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))=1)
Recovery: last(/Generic Cisco/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2
Example on the interface:
Problem: {$IFCONTROL:"Gi0/4"}=1 and (last(/testsw/net.if.status[ifOperStatus.10104])=2 and (last(/testsw/net.if.status[ifOperStatus.10104],#1)<>last(/testsw/net.if.status[ifOperStatus.10104],#2))=1)
Recovery: last(/testsw /net.if.status[ifOperStatus.10104])<>2
How can I change this trigger?
I have the following problem. Monitors Cisco switches using the template:
https://www.zabbix.com/integrations/cisco_snmp
If the interface is unavailable, a trigger is triggered and a notification is received. This works fine, but I'd like to achieve the following scenario when interface start flapping:
1. Gets one notification after interface down.
2. Get the next notification only after 5 minutes if the problem occurs again. For this period of 5 minutes, I don't want the trigger to fire while the interface is flapping.
Current trigger:
Problem: {$IFCONTROL:"{#IFNAME}"}=1 and (last(/Generic Cisco/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Generic Cisco/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Generic Cisco/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))=1)
Recovery: last(/Generic Cisco/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2
Example on the interface:
Problem: {$IFCONTROL:"Gi0/4"}=1 and (last(/testsw/net.if.status[ifOperStatus.10104])=2 and (last(/testsw/net.if.status[ifOperStatus.10104],#1)<>last(/testsw/net.if.status[ifOperStatus.10104],#2))=1)
Recovery: last(/testsw /net.if.status[ifOperStatus.10104])<>2
How can I change this trigger?
Comment