ntpAssocAddress
NTPv4-MIB ·
.1.3.6.1.2.1.197.1.3.1.1.5
Object
column OctetString
The IP address (IPv4 or IPv6, with or without zone index) of the association. The type and size depends on the ntpAssocAddressType object. Represents the IP address of a uni/multi/broadcast association.
Context
- MIB
- NTPv4-MIB
- OID
.1.3.6.1.2.1.197.1.3.1.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- ntpAssociationEntry
- 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 'NTPv4-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NTPv4-MIB::ntpAssocAddress'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NTPv4-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NTPv4-MIB::ntpAssocAddress.<ntpAssocId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NTPv4-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NTPv4-MIB::ntpAssocAddress'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 4-4
range: 8-8
range: 16-16
range: 20-20
Conformance
Member of