snmpTrapOID
SNMPv2-MIB ·
.1.3.6.1.6.3.1.1.4.1
Object
scalar ObjectIdentifier
The authoritative identification of the notification currently being sent. This variable occurs as the second varbind in every SNMPv2-Trap-PDU and InformRequest-PDU.
Context
- MIB
- SNMPv2-MIB
- OID
.1.3.6.1.6.3.1.1.4.1- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- snmpTrap
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SNMPv2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SNMPv2-MIB::snmpTrapOID.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SNMPv2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SNMPv2-MIB::snmpTrapOID'
Syntax
ObjectIdentifier
Values & Constraints
No enumerated values or constraints recorded.
Conformance
Member of