Hello!
I configured Cisco switch to send SNMP err-disabled traps and interface up/down traps to Zabbix server:
snmp-server enable traps errdisable
snmp-server enable traps snmp linkdown linkup
On Zabbix server I receive traps in following format (example for err-disable storm-control violation):
14:18:43 2016/06/10 ZBXTRAP 10.77.3.38
PDU INFO:
notificationtype TRAP
version 1
receivedfrom UDP: [10.77.3.38]:50070->[10.77.195.134]:162
errorstatus 0
messageid 0
community bublic
transactionid 35
errorindex 0
requestid 627
VARBINDS:
DISMAN-EVENT-MIB::sysUpTimeInstance type=67 value=Timeticks: (1570284496) 181 days, 17:54:04.96
SNMPv2-MIB::snmpTrapOID.0 type=6 value=OID: SNMPv2-SMI::enterprises.9.9.548.0.2
SNMPv2-SMI::enterprises.9.9.548.1.3.1.1.2.10602.0 type=2 value=INTEGER: 14
trap contains SNMP index of interface: 10602, but not name of interface (screenshot from wireshark dump in attachment).
Interface up/down trap contains information about interface name (screenshot also in attachment):
12:04:25 2016/06/10 ZBXTRAP 10.77.3.38
PDU INFO:
notificationtype TRAP
version 1
receivedfrom UDP: [10.77.3.38]:50070->[10.77.195.134]:162
errorstatus 0
messageid 0
community bublic
transactionid 55
errorindex 0
requestid 565
VARBINDS:
DISMAN-EVENT-MIB::sysUpTimeInstance type=67 value=Timeticks: (1569478765) 181 days, 15:39:47.65
SNMPv2-MIB::snmpTrapOID.0 type=6 value=OID: IF-MIB::linkDown
IF-MIB::ifIndex.10602 type=2 value=INTEGER: 10602
IF-MIB::ifDescr.10602 type=4 value=STRING: "GigabitEthernet2/0/2"
IF-MIB::ifType.10602 type=2 value=INTEGER: 6
SNMPv2-SMI::enterprises.9.2.2.1.1.20.10602 type=4 value=STRING: "down"
How I can configure Cisco switch to send interface name in err-disable traps as in link up-down traps?