Hello,
I have created a trigger to create a linkDown trap but the recovery (linkUp) is not clearing the problem. The linkup comes very quickly after the linkDown so not sure if that is related to the issue.
Below are an example linkDown and linkUp (I have substituted some of the data below with XXX or nn:nn:nn:nn) for the same device/ifIndex:
2024-12-03T08:49:54+0000 ZBXTRAP nn.nn.nn.nn
PDU INFO:
errorstatus 0
transactionid 15794
messageid 0
version 0
notificationtype TRAP
receivedfrom UDP: [nn.nn.nn.nn]:161->[nn.nn.nn.nn]:162
errorindex 0
community XXXXXXX
requestid 0
VARBINDS:
SNMPv2-MIB::sysUpTime.0 type=67 value=Timeticks: (1011070289) 117 days, 0:31:42.89
SNMPv2-MIB::snmpTrapOID.0 type=6 value=OID: IF-MIB::linkDown
IF-MIB::ifIndex.36 type=2 value=INTEGER: 36
IF-MIB::ifAdminStatus.36 type=2 value=INTEGER: 2
IF-MIB::ifOperStatus.36 type=2 value=INTEGER: 2
IF-MIB::ifDescr.36 type=4 value=STRING: "36"
IF-MIB::ifAlias.36 type=4 value=""
SNMPv2-SMI::snmpModules.18.1.3.0 type=64 value=IpAddress: nn.nn.nn.nn
SNMPv2-SMI::snmpModules.18.1.4.0 type=4 value=STRING: "XXXXXX"
SNMPv2-MIB::snmpTrapEnterprise.0 type=6 value=OID: XXXXXX
2024-12-03T08:49:57+0000 ZBXTRAP nn.nn.nn.nn
PDU INFO:
notificationtype TRAP
version 0
transactionid 15795
messageid 0
errorstatus 0
requestid 0
community XXXXXX
errorindex 0
receivedfrom UDP: [nn.nn.nn.nn]:161->[nn.nn.nn.nn]:162
VARBINDS:
SNMPv2-MIB::sysUpTime.0 type=67 value=Timeticks: (1011070560) 117 days, 0:31:45.60
SNMPv2-MIB::snmpTrapOID.0 type=6 value=OID: IF-MIB::linkUp
IF-MIB::ifIndex.36 type=2 value=INTEGER: 36
IF-MIB::ifAdminStatus.36 type=2 value=INTEGER: 1
IF-MIB::ifOperStatus.36 type=2 value=INTEGER: 1
IF-MIB::ifDescr.36 type=4 value=STRING: "36"
IF-MIB::ifAlias.36 type=4 value=""
SNMPv2-SMI::snmpModules.18.1.3.0 type=64 value=IpAddress: nn.nn.nn.nn
SNMPv2-SMI::snmpModules.18.1.4.0 type=4 value=STRING: "XXXXXX"
SNMPv2-MIB::snmpTrapEnterprise.0 type=6 value=OID: XXXXXX
Attached is the screenshot for my trigger. I have checked the regular expression and it matches the ifIndex value ok
I know that polling would fix this but I have to rely on traps.
I am new to zabbix so may have missed something obvious but any ideas what the issue may be?
Comment