trapip
OMNITRON-TRAP-MIB ·
.1.3.6.1.4.1.7342.1.5
Object
scalar SNMPv2-SMIIpAddress
IPv4 address of the trap source. If an IPv6 address is configured the return value is either 0.0.0.0 or 255.255.255.255.
Context
- MIB
- OMNITRON-TRAP-MIB
- OID
.1.3.6.1.4.1.7342.1.5- Type
- scalar
- Access
- notifyonly
- Status
- current
- 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 'OMNITRON-TRAP-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-TRAP-MIB::trapip.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OMNITRON-TRAP-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OMNITRON-TRAP-MIB::trapip'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4
Conformance
Member of