All Apps and Add-ons

SNMP Modular input - Unable to read from custom MIB file

elton93
Engager

Hi,

I'm working on receiving SNMP traps from Dynatrace App Mon. However the SNMP modular input doesn't seems to work well. I do receive event from snmp event but the snmp object doesn't seems to map properly.

I'm getting error in splunkd.log as below :

11-29-2018 15:59:10.531 +0800 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\snmp_ta\bin\snmp.py"" Exception resolving MIB name in the caught trap: NoSuchObjectError({'str': 'No MIB registered that defines 1.3.6.1.4.1.31094.1.2 object, closest known parent is 1.3.6.1.4.1 (SNMPv2-SMI::enterprises)'}) snmp_stanza:snmp://Testing

11-29-2018 15:59:10.531 +0800 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\snmp_ta\bin\snmp.py"" Exception resolving MIB value in the caught trap: ConstraintsIntersection(ConstraintsIntersection(ConstraintsIntersection(ConstraintsIntersection(), ValueSizeConstraint(0, 65535)), ValueSizeConstraint(0, 255)), ValueSizeConstraint(0, 255)) failed at: "ConstraintsIntersection(ConstraintsIntersection(ConstraintsIntersection(), ValueSizeConstraint(0, 65535)), ValueSizeConstraint(0, 255)) failed at: "ValueSizeConstraint(0, 255) failed at: "_BindValue().setComponentByPosition(0, ObjectSyntax().setComponentByPosition(0, SimpleSyntax().setComponentByPosition(1, OctetString('Java Virtual Machine/Memory Utilization: Memory Utilization <all-applications> (CustomerFrontend_easyTravel_8080@desktop-eugcr9l) upper bound exceeded'))))""" at DisplayString snmp_stanza:snmp://Testing

11-29-2018 15:59:10.532 +0800 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\snmp_ta\bin\snmp.py"" Exception resolving MIB name in the caught trap: NoSuchObjectError({'str': 'No MIB registered that defines 1.3.6.1.4.1.31094.1.3 object, closest known parent is 1.3.6.1.4.1 (SNMPv2-SMI::enterprises)'}) snmp_stanza:snmp://Testing

...

Converted MIB files

FILENAME = "DYNATRACE-TRAP-V2-MIB.MIB"

MIB = {
    "moduleName" : "DYNATRACE-TRAP-V2-MIB",

    "DYNATRACE-TRAP-V2-MIB" : {
        "nodetype" : "module",
        "language" : "SMIv2",
        "organization" :    
            """Dynatrace LLC""",
        "contact" : 
            """email: info@dynatrace.com""",
        "description" :
            """SNMP Action Plugin V2""",
        "revisions" : (
            {
                "date" : "2013-04-18 00:00",
                "description" :
                    """[Revision added by libsmi due to a LAST-UPDATED clause.]""",
            },
        ),
        "identity node" : "dynaTraceMib",
    },

    "imports" : (
        {"module" : "SNMPv2-SMI", "name" : "enterprises"},
        {"module" : "SNMPv2-SMI", "name" : "MODULE-IDENTITY"},
        {"module" : "SNMPv2-SMI", "name" : "OBJECT-TYPE"},
        {"module" : "SNMPv2-SMI", "name" : "NOTIFICATION-TYPE"},
        {"module" : "SNMPv2-SMI", "name" : "Unsigned32"},
        {"module" : "SNMPv2-SMI", "name" : "TimeTicks"},
        {"module" : "SNMPv2-CONF", "name" : "OBJECT-GROUP"},
        {"module" : "SNMPv2-CONF", "name" : "NOTIFICATION-GROUP"},
        {"module" : "SNMPv2-CONF", "name" : "MODULE-COMPLIANCE"},
    ),

    "nodes" : {
        "dynaTraceMib" : {
            "nodetype" : "node",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094",
            "status" : "current",
        }, # node
        "dynaTraceTrapNotification" : {
            "nodetype" : "node",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.0",
        }, # node
        "incident" : {
            "nodetype" : "node",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1",
        }, # node
        "name" : {
            "nodetype" : "scalar",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.1",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """The name of the incident.""",
        }, # scalar
        "message" : {
            "nodetype" : "scalar",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.2",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """The message of the incident.""",
        }, # scalar
        "description" : {
            "nodetype" : "scalar",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.3",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """The description of the incident.""",
        }, # scalar
        "severity" : {
            "nodetype" : "scalar",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.4",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """The severity of the incident.""",
        }, # scalar
        "key" : {
            "nodetype" : "scalar",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.5",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """The key of the incident as UUID.""",
        }, # scalar
        "server" : {
            "nodetype" : "scalar",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.6",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """The server which triggered the incident.""",
        }, # scalar
        "systemprofile" : {
            "nodetype" : "scalar",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.7",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """The system profile which triggered the incident.""",
        }, # scalar
        "starttime" : {
            "nodetype" : "scalar",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.8",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """The start time of the incident.""",
        }, # scalar
        "endtime" : {
            "nodetype" : "scalar",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.9",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """The end time of the incident.""",
        }, # scalar
        "duration" : {
            "nodetype" : "scalar",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.10",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """The duration of the incident.""",
        }, # scalar
        "recordedsessionid" : {
            "nodetype" : "scalar",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.11",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """The recorded session id.""",
        }, # scalar
        "recordedsessionname" : {
            "nodetype" : "scalar",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.12",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """The recorded session name.""",
        }, # scalar
        "sensitivity" : {
            "nodetype" : "node",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.13",
        }, # node
        "type" : {
            "nodetype" : "scalar",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.13.1",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """The type of the sensitivity.""",
        }, # scalar
        "minimumincidentduration" : {
            "nodetype" : "scalar",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.13.2",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"SNMPv2-SMI", "name" : "TimeTicks"},
            },
            "access" : "readonly",
            "description" :
                """The minimum duration threshold to be violated until an incident is raised.""",
        }, # scalar
        "minimumcooldownduration" : {
            "nodetype" : "scalar",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.13.3",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"SNMPv2-SMI", "name" : "TimeTicks"},
            },
            "access" : "readonly",
            "description" :
                """The minimum duration until another incident is raised.""",
        }, # scalar
        "minimumnonviolatedduration" : {
            "nodetype" : "scalar",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.13.4",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"SNMPv2-SMI", "name" : "TimeTicks"},
            },
            "access" : "readonly",
            "description" :
                """The minimum duration of threshold compliance which causes an incident to close.""",
        }, # scalar
        "violationTable" : {
            "nodetype" : "table",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.14",
            "status" : "current",
            "description" :
                """Table that is used to represent the violations of the incident.""",
        }, # table
        "violationEntry" : {
            "nodetype" : "row",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.14.1",
            "status" : "current",
            "linkage" : [
                "violationIndex",
            ],
            "description" :
                """Entry of the violation table.""",
        }, # row
        "violationIndex" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.14.1.1",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "Unsigned32"},
            },
            "access" : "noaccess",
            "description" :
                """Index of the violation, i.e. index 1 represents the first violation.""",
        }, # column
        "violationthreshold" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.14.1.2",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """The threshold that has been violated.""",
        }, # column
        "measureTable" : {
            "nodetype" : "table",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.15",
            "status" : "current",
            "description" :
                """A table representing the measures of a violation.""",
        }, # table
        "measureEntry" : {
            "nodetype" : "row",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.15.1",
            "status" : "current",
            "linkage" : [
                "violationIndex",
                "measureIndex",
            ],
            "description" :
                """A measure entry in the measure table.""",
        }, # row
        "measureIndex" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.15.1.1",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "Unsigned32"},
            },
            "access" : "noaccess",
            "description" :
                """Index of the measure, there is only one measure per violation. So the index is one at max.""",
        }, # column
        "measurename" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.15.1.2",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """The name of the measure.""",
        }, # column
        "measuredescription" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.15.1.3",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """The description of the measure.""",
        }, # column
        "measureapplication" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.15.1.4",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """The mapped application for the measure.""",
        }, # column
        "measureconfigurationsummary" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.15.1.5",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """The configuration of the measure.""",
        }, # column
        "measureunit" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.15.1.6",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """The unit of the measure.""",
        }, # column
        "measuremetricname" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.15.1.7",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """The name of the measure metric.""",
        }, # column
        "measuremetricdescription" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.15.1.8",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """The description of the measure metric.""",
        }, # column
        "measuremetricgroup" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.15.1.9",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """The group of the measure metric.""",
        }, # column
        "measuremetricunit" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.15.1.10",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """The unit of the measure metric.""",
        }, # column
        "measureupperseverethreshold" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.15.1.11",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """Threshold that triggers an upper severe exceeding.""",
        }, # column
        "measureupperwarningthreshold" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.15.1.12",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """Threshold that triggers an upper warning exceeding.""",
        }, # column
        "measurelowerseverethreshold" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.15.1.13",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """Threshold that triggers an lower severe exceeding.""",
        }, # column
        "measurelowerwarningthreshold" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.15.1.14",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """Threshold that triggers an lower warning exceeding.""",
        }, # column
        "measuresourcetype" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.15.1.15",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """Source type of the measure.""",
        }, # column
        "agentsourcename" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.15.1.16",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """Name of the agent that is the source of the measure.""",
        }, # column
        "agentsourcehost" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.15.1.17",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """Host of the agent that is the source of the measure.""",
        }, # column
        "monitorsourcename" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.15.1.18",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """Name of the monitor that is the source of the measure.""",
        }, # column
        "measureAgentGroupTable" : {
            "nodetype" : "table",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.16",
            "status" : "current",
            "description" :
                """Table containing the agent groups that are the sources of the measure.""",
        }, # table
        "measureAgentGroupEntry" : {
            "nodetype" : "row",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.16.1",
            "status" : "current",
            "linkage" : [
                "violationIndex",
                "measureIndex",
                "measureAgentGroupIndex",
            ],
            "description" :
                """Agent group that is a source of the measure.""",
        }, # row
        "measureAgentGroupIndex" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.16.1.1",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "Unsigned32"},
            },
            "access" : "noaccess",
            "description" :
                """Index of the agent group contained in the measureAgentGroupTable.""",
        }, # column
        "measureagentgroupname" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.16.1.2",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """Name of the agent group.""",
        }, # column
        "splittingTable" : {
            "nodetype" : "table",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.17",
            "status" : "current",
            "description" :
                """Table containing the splittings (e.g., business transaction groups) for this measure.""",
        }, # table
        "splittingEntry" : {
            "nodetype" : "row",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.17.1",
            "status" : "current",
            "linkage" : [
                "violationIndex",
                "measureIndex",
                "splittingIndex",
            ],
            "description" :
                """Splitting as an entry of the splitting table.""",
        }, # row
        "splittingIndex" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.17.1.1",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "Unsigned32"},
            },
            "access" : "noaccess",
            "description" :
                """Index of the splitting, i.e. the splitting with the index 1 is the frist splitting.""",
        }, # column
        "splittingname" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.17.1.2",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """Name of the splitting.""",
        }, # column
        "triggerValueTable" : {
            "nodetype" : "table",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.18",
            "status" : "current",
            "description" :
                """Table representing the trigger values of the violation.""",
        }, # table
        "triggerValueEntry" : {
            "nodetype" : "row",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.18.1",
            "status" : "current",
            "linkage" : [
                "violationIndex",
                "triggerValueIndex",
            ],
            "description" :
                """Trigger value entry within the trigger value table.""",
        }, # row
        "triggerValueIndex" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.18.1.1",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "Unsigned32"},
            },
            "access" : "noaccess",
            "description" :
                """Index of the trigger value entry.""",
        }, # column
        "triggervalue" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.18.1.2",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """The actual trigger value.""",
        }, # column
        "triggermeasuresourcetype" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.18.1.3",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """Source type of the violation.""",
        }, # column
        "triggeragentsourcename" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.18.1.4",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """Name of the agent that is the source of the violation.""",
        }, # column
        "triggeragentsourcehost" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.18.1.5",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """Host of the agent that is the source of the violation.""",
        }, # column
        "triggermonitorsourcename" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.18.1.6",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """Name of the monitor that is the source of the violation.""",
        }, # column
        "triggerAgentGroupTable" : {
            "nodetype" : "table",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.19",
            "status" : "current",
            "description" :
                """Table containing the agent groups that are the sources of the violation.""",
        }, # table
        "triggerAgentGroupEntry" : {
            "nodetype" : "row",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.19.1",
            "status" : "current",
            "linkage" : [
                "violationIndex",
                "triggerValueIndex",
                "triggerAgentGroupIndex",
            ],
            "description" :
                """Agent group that is a source of the measure.""",
        }, # row
        "triggerAgentGroupIndex" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.19.1.1",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "Unsigned32"},
            },
            "access" : "noaccess",
            "description" :
                """Index of the agent group contained in the triggerAgentGroupTable.""",
        }, # column
        "triggeragentgroupname" : {
            "nodetype" : "column",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.1.19.1.2",
            "status" : "current",
            "syntax" : {
                "type" : { "module" :"", "name" : "OctetString"},
            },
            "access" : "readonly",
            "description" :
                """Name of the agent group.""",
        }, # column
        "dynaTraceConformance" : {
            "nodetype" : "node",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.2",
        }, # node
        "dynaTraceCompliances" : {
            "nodetype" : "node",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.2.1",
        }, # node
        "dynaTraceGroups" : {
            "nodetype" : "node",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.2.2",
        }, # node
    }, # nodes

    "notifications" : {
        "dynaTraceIncidentStart" : {
            "nodetype" : "notification",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.0.1",
            "status" : "current",
            "objects" : {
                "name" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "message" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "description" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "severity" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "key" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "server" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "systemprofile" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "starttime" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "recordedsessionid" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "recordedsessionname" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "type" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "minimumincidentduration" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "minimumcooldownduration" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "minimumnonviolatedduration" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
            },
            "description" :
                """Indicates, that a new dynaTrace incident has begun.""",
        }, # notification
        "dynaTraceIncidentEnd" : {
            "nodetype" : "notification",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.0.2",
            "status" : "current",
            "objects" : {
                "name" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "message" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "description" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "severity" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "key" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "server" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "systemprofile" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "starttime" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "endtime" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "duration" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "recordedsessionid" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "recordedsessionname" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "type" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "minimumincidentduration" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "minimumcooldownduration" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "minimumnonviolatedduration" : {
                    "nodetype" : "object",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
            },
            "description" :
                """Indicates, that a dynaTrace incident has ended.""",
        }, # notification
    }, # notifications

    "groups" : {
        "dynaTraceDataGroup" : {
            "nodetype" : "group",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.2.2.1",
            "status" : "current",
            "members" : {
                "name" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "message" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "description" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "severity" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "key" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "server" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "systemprofile" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "starttime" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "endtime" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "duration" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "recordedsessionid" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "recordedsessionname" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "type" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "minimumincidentduration" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "minimumcooldownduration" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "minimumnonviolatedduration" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "violationthreshold" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "measurename" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "measureapplication" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "measuredescription" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "measureconfigurationsummary" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "measureunit" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "measuremetricname" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "measuremetricdescription" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "measuremetricgroup" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "measuremetricunit" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "measureupperseverethreshold" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "measureupperwarningthreshold" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "measurelowerseverethreshold" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "measurelowerwarningthreshold" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "measuresourcetype" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "agentsourcename" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "agentsourcehost" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "monitorsourcename" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "measureagentgroupname" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "splittingname" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "triggervalue" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "triggermeasuresourcetype" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "triggeragentsourcename" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "triggeragentsourcehost" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "triggermonitorsourcename" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "triggeragentgroupname" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
            }, # members
            "description" :
                """The collection of objects which are used to represent the
common parameters of the headend managed entities.""",
        }, # group
        "dynaTraceNotificationGroup" : {
            "nodetype" : "group",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.2.2.2",
            "status" : "current",
            "members" : {
                "dynaTraceIncidentStart" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "dynaTraceIncidentEnd" : {
                    "nodetype" : "member",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
            }, # members
            "description" :
                """The collection of notifications used by the headend agent
to report the exceptional conditions to the management
application.""",
        }, # group
    }, # groups

    "compliances" : {
        "dynaTraceCompliance" : {
            "nodetype" : "compliance",
            "moduleName" : "DYNATRACE-TRAP-V2-MIB",
            "oid" : "1.3.6.1.4.1.31094.2.1.1",
            "status" : "current",
            "description" :
                """The compliance statement for SNMP entities which implement
this MIB.""",
            "requires" : {
                "dynaTraceNotificationGroup" : {
                    "nodetype" : "mandatory",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
                "dynaTraceDataGroup" : {
                    "nodetype" : "mandatory",
                    "module" : "DYNATRACE-TRAP-V2-MIB"
                },
            }, # requires
        }, # compliance
    }, # compliances

}

Thanks for your help in advance!

0 Karma

kmorris_splunk
Splunk Employee
Splunk Employee

I know this isn't addressing your question, but I wanted to share this since it may be a better option for receiving SNMP traps than the modular input. https://www.splunk.com/blog/2018/08/30/managing-snmp-traps-with-itsi-event-analytics.html

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...