ostIpTraphostCfgIpAddress
OMNITRON-IP-MIB ·
.1.3.6.1.4.1.7342.21.4.1.2
Object
IPv4 or IPv6 Notification destination address.
A value of 0 indicates no trap host address is configured
via this object.
Setting this object also impacts the traphostx
returned value. If an IPv4 address is written to this object the
two objects return the same value. If this object is set with an IPv6
address then traphost1 returns an all zeros value.
Context
- MIB
- OMNITRON-IP-MIB
- OID
.1.3.6.1.4.1.7342.21.4.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ostIpTraphostCfgEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk 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-IP-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-IP-MIB::ostIpTraphostCfgIpAddress'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OMNITRON-IP-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-IP-MIB::ostIpTraphostCfgIpAddress.<ostIpTraphostCfgIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OMNITRON-IP-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OMNITRON-IP-MIB::ostIpTraphostCfgIpAddress'
Syntax
- Source
- OMNITRON-TC-MIBOstIpAddr
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..39
Conformance
Member of