traphost2

OMNITRON-MIB · .1.3.6.1.4.1.7342.2.1.3.1.12

Object

column r/w SNMPv2-SMIIpAddress
This object is the trap host 2 IPv4 address.  
              
Setting this object also impacts the equivalent ostIpTraphostCfgTable
returned  value. If an IPv4 address is written to this object the
two objects return the same value. If ostIpTraphostCfgTable
is set with an IPv6 address then this object returns an all zeros
value.

Context

MIB
OMNITRON-MIB
OID
.1.3.6.1.4.1.7342.2.1.3.1.12
Type
column
Access
readwrite
Status
current
Parent
moduleMgtCfgEntry
Groups
1

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'OMNITRON-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-MIB::traphost2'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OMNITRON-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-MIB::traphost2.<modchassnum>.<modslotnum>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OMNITRON-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OMNITRON-MIB::traphost2'

Syntax

Source
SNMPv2-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4

Conformance

Member of