Showing results for 
Show  only  | Search instead for 
Did you mean: 

SNMP Traps - referencing OIDs without knowing the Attribute name

Frequent Guest

Below is a sample log entry from SNMP:  I need to create an event extraction and include all the SMI Experimental variables.  The challenge is that the column/attribute names will change depending on the trap.   One time it may be

"SNMPv2-SMI::experimental.": "129"
and next event  may be

"SNMPv2-SMI::experimental.": "80"

Is there a "field" that will let me dump all the elements into the event extraction, regardless of the column name?


"event.type": "LOG",
"content": "SNMP trap (SNMPv2-SMI::enterprises.1139.3) reported from *.*.*.*\n",
"status": "NONE",
"timestamp": "1683220514287",
"device.address": "",
"dt.entity.snmptraps:com_dynatrace_ext_snmp-traps": "CUSTOM_DEVICE-",
"log.source": "snmptraps",
"loglevel": "NONE",
"snmp.trap_oid": "SNMPv2-SMI::enterprises.1139.3",
"SNMPv2-SMI::enterprises.1139.3.8888.1.0": "2",
"SNMPv2-SMI::enterprises.1139.3.8888.2.0": "1207",
"SNMPv2-SMI::enterprises.1139.3.8888.3.0": "1043",
"SNMPv2-SMI::enterprises.1139.3.8888.4.0": "DG1_F_4",
"SNMPv2-SMI::experimental.": "129",
"SNMPv2-SMI::experimental.": "8",
"SNMPv2-SMI::experimental.": "4",
"SNMPv2-SMI::experimental.": ".0.0",
"SNMPv2-SMI::experimental.": "Symmetrix 000197600510 TPDataPool DG1_F_4 : Data Pool configuration has changed.",
"SNMPv2-SMI::experimental.": "000197600510",
"SNMPv2-SMI::experimental.": "11",
"snmp.version": "1"


DynaMight Guru
DynaMight Guru


In my case, I have uploaded MIB files to the ActiveGates, and now I don't have OIDs, but their resolution name. Do you think it might help in your use-case?

Antonio Sousa

Thank you, Antonio...I THINK I'm going to use the OID Trim function to help with this situation.    

I would still like a way to have a index for a OID so that I can reference with a variable.   



Featured Posts