cntpPeersHostAddress

CISCO-NTP-MIB · .1.3.6.1.4.1.9.9.168.1.2.1.1.5

Object

column r/w SNMPv2-SMIIpAddress
The IP address of the local host.  Multi-homing can
be supported using this object.

Context

MIB
CISCO-NTP-MIB
OID
.1.3.6.1.4.1.9.9.168.1.2.1.1.5
Type
column
Access
readwrite
Status
current
Parent
cntpPeersVarEntry
Groups
3

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 'CISCO-NTP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-NTP-MIB::cntpPeersHostAddress'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-NTP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-NTP-MIB::cntpPeersHostAddress.<cntpPeersAssocId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-NTP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-NTP-MIB::cntpPeersHostAddress'

Syntax

Source
SNMPv2-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4