trapIpString
OMNITRON-TRAP-MIB ·
.1.3.6.1.4.1.7342.1.10
Object
scalar OMNITRON-TC-MIBOstIpAddr
IPv6 or IPv4 address of the trap source. If no address is configured the value returned is 0.0.0.0 or 255.255.255.255.
Context
- MIB
- OMNITRON-TRAP-MIB
- OID
.1.3.6.1.4.1.7342.1.10- 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::trapIpString.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::trapIpString'
Syntax
- Source
- OMNITRON-TC-MIBOstIpAddr
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..39
Conformance
Member of