Hi Zabbix Experts,
I've recently been tasked with re-creating a zabbix server on my network. I'm attempting to set up SNMP Traps on the server using https://www.zabbix.org/wiki/Start_wi...raps_in_Zabbix
I have gotten to the point where I need to send the SNMP Traps to a temporary file. I have gotten to this part, but the SNMP Traps are being saved without translating the OIDs.
Example:
16:33:33 2015/10/15 ZBXTRAP 127.0.0.1
PDU INFO:
notificationtype TRAP
errorstatus 0
requestid 0
messageid 0
receivedfrom UDP: [127.0.0.1]:53313->[127.0.0.1]:162
errorindex 0
community public
transactionid 1
version 0
VARBINDS:
iso.3.6.1.2.1.1.3.0 type=67 value=Timeticks: (55) 0:00:00.55
iso.3.6.1.6.3.1.1.4.1.0 type=6 value=OID: iso.3.6.1.6.3.1.1.5.4.0.33
iso.3.6.1.6.3.1.1.5.4 type=4 value=STRING: "eth0"
iso.3.6.1.6.3.18.1.4.0 type=4 value=STRING: "public"
iso.3.6.1.6.3.1.1.4.3.0 type=6 value=OID: iso.3.6.1.6.3.1.1.5.4
Does anyone know how I can translate the Varbind's to become human readable?
Thank you for your time,
GP1
I've recently been tasked with re-creating a zabbix server on my network. I'm attempting to set up SNMP Traps on the server using https://www.zabbix.org/wiki/Start_wi...raps_in_Zabbix
I have gotten to the point where I need to send the SNMP Traps to a temporary file. I have gotten to this part, but the SNMP Traps are being saved without translating the OIDs.
Example:
16:33:33 2015/10/15 ZBXTRAP 127.0.0.1
PDU INFO:
notificationtype TRAP
errorstatus 0
requestid 0
messageid 0
receivedfrom UDP: [127.0.0.1]:53313->[127.0.0.1]:162
errorindex 0
community public
transactionid 1
version 0
VARBINDS:
iso.3.6.1.2.1.1.3.0 type=67 value=Timeticks: (55) 0:00:00.55
iso.3.6.1.6.3.1.1.4.1.0 type=6 value=OID: iso.3.6.1.6.3.1.1.5.4.0.33
iso.3.6.1.6.3.1.1.5.4 type=4 value=STRING: "eth0"
iso.3.6.1.6.3.18.1.4.0 type=4 value=STRING: "public"
iso.3.6.1.6.3.1.1.4.3.0 type=6 value=OID: iso.3.6.1.6.3.1.1.5.4
Does anyone know how I can translate the Varbind's to become human readable?
Thank you for your time,
GP1
Comment