getting snmptrap data into proxy server just fine. I can see the data using snmptrap.fallback without any issues on zabbix gui. I am unable to grab individual values from the snmptrap data. Can anyone help me with the regex as i do not understand what i am missing....example of data and item template is below....
Data received into snmptrap log file...
17:54:54 2019/12/02 ZBXTRAP 10.151.240.252
PDU INFO:
notificationtype TRAP
version 0
receivedfrom UDP: [10.151.240.252]:162->[192.168.10.193]:162
errorstatus 0
messageid 0
community *********
transactionid 35
errorindex 0
requestid 0
VARBINDS:
DISMAN-EVENT-MIB::sysUpTimeInstance type=67 value=Timeticks: (1564315) 4:20:43.15
SNMPv2-MIB::snmpTrapOID.0 type=6 value=OID: SNMPv2-SMI::enterprises.13858.10.0.54
SNMPv2-SMI::enterprises.13858.11.1.0 type=4 value=STRING: "KingstonCorner_Eltek: Heartbeat trap"
SNMP-COMMUNITY-MIB::snmpTrapAddress.0 type=64 value=IpAddress: 10.151.240.252
SNMP-COMMUNITY-MIB::snmpTrapCommunity.0 type=4 value=STRING: "***********"
SNMPv2-MIB::snmpTrapEnterprise.0 type=6 value=OID: SNMPv2-SMI::enterprises.13858.10
I am trying to get just the value....i have messed with multiple regex but nothing is working to grab just the specific value....
snmptrap["SNMPv2-SMI::enterprises.13858.11.1.0 type=4 value=STRING: "{#SNMPVALUE}""]
Data received into snmptrap log file...
17:54:54 2019/12/02 ZBXTRAP 10.151.240.252
PDU INFO:
notificationtype TRAP
version 0
receivedfrom UDP: [10.151.240.252]:162->[192.168.10.193]:162
errorstatus 0
messageid 0
community *********
transactionid 35
errorindex 0
requestid 0
VARBINDS:
DISMAN-EVENT-MIB::sysUpTimeInstance type=67 value=Timeticks: (1564315) 4:20:43.15
SNMPv2-MIB::snmpTrapOID.0 type=6 value=OID: SNMPv2-SMI::enterprises.13858.10.0.54
SNMPv2-SMI::enterprises.13858.11.1.0 type=4 value=STRING: "KingstonCorner_Eltek: Heartbeat trap"
SNMP-COMMUNITY-MIB::snmpTrapAddress.0 type=64 value=IpAddress: 10.151.240.252
SNMP-COMMUNITY-MIB::snmpTrapCommunity.0 type=4 value=STRING: "***********"
SNMPv2-MIB::snmpTrapEnterprise.0 type=6 value=OID: SNMPv2-SMI::enterprises.13858.10
I am trying to get just the value....i have messed with multiple regex but nothing is working to grab just the specific value....
snmptrap["SNMPv2-SMI::enterprises.13858.11.1.0 type=4 value=STRING: "{#SNMPVALUE}""]