hpPeerIpAddress

HP-SYSTEM-MIB · .1.3.6.1.4.1.11.2.3.7.11.17.7.1.1.2.1.8

Object

scalar r/w SNMPv2-SMIIpAddress
The administratively assigned IP address associated with a 
redundant peer device, configured to work with this device 
for failover purposes.  This can be assigned statically on the
device Console port, or configured via DHCP.  If the device 
does not support Failover configuration, or none has been 
configured, this object will report 0.0.0.0

Context

MIB
HP-SYSTEM-MIB
OID
.1.3.6.1.4.1.11.2.3.7.11.17.7.1.1.2.1.8
Type
scalar
Access
readwrite
Status
current
Parent
hpConfig
Groups
1

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

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

Syntax

Source
SNMPv2-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4

Conformance

Member of