-
Change Request
-
Resolution: Cannot Reproduce
-
Major
-
None
-
3.0.3
-
None
-
Linux 6.6, Zabbix 3.0.3
We are now trying to use the zabbix_trap_receiver.pl script in order to pass traps to the Zabbix server.
We have set up snmptrapd and it is running successfully.
We see both the trap appear in the snmptrapd log file:
PDU INFO:
notificationtype TRAP
version 0
receivedfrom UDP: [10.121.90.236]:57396->[10.179.75.134]
errorstatus 0
messageid 0
community L1b3rty
transactionid 2
errorindex 0
requestid 0
VARBINDS:
.1.3.6.1.2.1.1.3.0 type=67 value=Timeticks: (1469651500) 170 days, 2:21:55.00
.1.3.6.1.6.3.1.1.4.1.0 type=6 value=OID: .1.3.6.1.4.1.1588.3.1.4.0.1
.1.3.6.1.4.1.1588.3.1.4.1.1 type=4 value=STRING: "CLEAR_ALL_ALERTS"
.1.3.6.1.4.1.1588.3.1.4.1.5 type=2 value=INTEGER: 4
.1.3.6.1.4.1.1588.3.1.4.1.6 type=2 value=INTEGER: 2
.1.3.6.1.4.1.1588.3.1.4.1.7 type=4 value=STRING: "0"
.1.3.6.1.4.1.1588.3.1.4.1.3 type=2 value=INTEGER: 1
.1.3.6.1.4.1.1588.3.1.4.1.12 type=4 value=STRING: "CPU,3,82.00"
.1.3.6.1.4.1.1588.3.1.4.1.11 type=2 value=INTEGER: 2
.1.3.6.1.4.1.1588.3.1.4.1.2 type=4 value=STRING: "CHASSIS(CPU>=80.00)"
.1.3.6.1.4.1.1588.3.1.4.1.13 type=2 value=INTEGER: 3
.1.3.6.1.4.1.1588.2.1.1.1.2.15 type=2 value=INTEGER: 128
.1.3.6.1.4.1.1588.3.1.4.1.14 type=4 value=STRING: "Switch Resource"
.1.3.6.1.6.3.18.1.3.0 type=64 value=IpAddress: 10.192.246.26
.1.3.6.1.6.3.18.1.4.0 type=4 value=STRING: "L1b3rty"
.1.3.6.1.6.3.1.1.4.3.0 type=6 value=OID: .1.3.6.1.4.1.1588.3.1.4
as well as in the ~zabbix/log/zabbix_server.log file:
9991:20160727:162731.024 resuming SNMP agent checks on host "mta-iccu-3750-sw1": connection restored
10008:20160727:162822.424 unmatched trap received from "127.0.0.1": 16:28:21 2016/07/27 PDU INFO:
notificationtype TRAP
version 0
receivedfrom UDP: [127.0.0.1]:33907->[127.0.0.1]
errorstatus 0
messageid 0
community public
transactionid 1
errorindex 0
requestid 0
VARBINDS:
.1.3.6.1.2.1.1.3.0 type=67 value=Timeticks: (55) 0:00:00.55
.1.3.6.1.6.3.1.1.4.1.0 type=6 value=OID: .1.3.6.1.6.3.1.1.5.4.0.33
.1.3.6.1.6.3.1.1.5.4 type=4 value=STRING: "eth0"
.1.3.6.1.6.3.18.1.4.0 type=4 value=STRING: "public"
.1.3.6.1.6.3.1.1.4.3.0 type=6 value=OID: .1.3.6.1.6.3.1.1.5.4
10008:20160727:163141.461 unmatched trap received from "10.121.90.236": 16:31:40 2016/07/27 PDU INFO:
notificationtype TRAP
version 0
receivedfrom UDP: [10.121.90.236]:57396->[10.179.75.134]
errorstatus 0
messageid 0
community L1b3rty
transactionid 2
errorindex 0
requestid 0
VARBINDS:
.1.3.6.1.2.1.1.3.0 type=67 value=Timeticks: (1469651500) 170 days, 2:21:55.00
.1.3.6.1.6.3.1.1.4.1.0 type=6 value=OID: .1.3.6.1.4.1.1588.3.1.4.0.1
.1.3.6.1.4.1.1588.3.1.4.1.1 type=4 value=STRING: "CLEAR_ALL_ALERTS"
.1.3.6.1.4.1.1588.3.1.4.1.5 type=2 value=INTEGER: 4
.1.3.6.1.4.1.1588.3.1.4.1.6 type=2 value=INTEGER: 2
.1.3.6.1.4.1.1588.3.1.4.1.7 type=4 value=STRING: "0"
.1.3.6.1.4.1.1588.3.1.4.1.3 type=2 value=INTEGER: 1
.1.3.6.1.4.1.1588.3.1.4.1.12 type=4 value=STRING: "CPU,3,82.00"
.1.3.6.1.4.1.1588.3.1.4.1.11 type=2 value=INTEGER: 2
.1.3.6.1.4.1.1588.3.1.4.1.2 type=4 value=STRING: "CHASSIS(CPU>=80.00)"
.1.3.6.1.4.1.1588.3.1.4.1.13 type=2 value=INTEGER: 3
.1.3.6.1.4.1.1588.2.1.1.1.2.15 type=2 value=INTEGER: 128
.1.3.6.1.4.1.1588.3.1.4.1.14 type=4 value=STRING: "Switch Resource"
.1.3.6.1.6.3.18.1.3.0 type=64 value=IpAddress: 10.192.246.26
.1.3.6.1.6.3.18.1.4.0 type=4 value=STRING: "L1b3rty"
.1.3.6.1.6.3.1.1.4.3.0 type=6 value=OID: .1.3.6.1.4.1.1588.3.1.4
but it never appears in the Zabbix UI, even as an 'unknown' trap.
We have gotten snmptt to work so the ports and functionality from a trap perspective should be working (trying to move away from snmptt now as that seems not be very consistent).
We have configured the SNMPTrapperFile and have started the "StartSNMPTrapper" option in the zabbix_server.conf file.