trapHost1

XXX-MIB · .1.3.6.1.4.1.34592.1.1.1.4.1.1.8

Object

scalar r/w SNMPv2-SMIIpAddress
The first host's IP address used to receive trap messages,
when set 0 it simply delete this entry. This applies to the trap host 2~4 below as well.

Context

MIB
XXX-MIB
OID
.1.3.6.1.4.1.34592.1.1.1.4.1.1.8
Type
scalar
Access
readwrite
Status
current
Parent
nmuConfig

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'XXX-MIB' -M '/opt/observium/mibs/cdata:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'XXX-MIB::trapHost1.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'XXX-MIB' -M '/opt/observium/mibs/cdata:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'XXX-MIB::trapHost1'

Syntax

Source
SNMPv2-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4