atNtpPeerIndex
AT-NTP-MIB ·
allied-old variant
·
.1.3.6.1.4.1.207.8.4.4.4.502.7.1.1
Object
column Integer32
This object represents the index corresponding to
a particular NTP server or peer configuration in
the system.
For creation of a new entry, the value of this object
should be same as that of the value of
'atNtpPeerIndexNext' object. If this is not
the case, then the entry creation will fail.
Context
- MIB
- AT-NTP-MIB
- OID
.1.3.6.1.4.1.207.8.4.4.4.502.7.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- atNtpPeerEntry
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 'AT-NTP-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'AT-NTP-MIB::atNtpPeerIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'AT-NTP-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'AT-NTP-MIB::atNtpPeerIndex.<atNtpPeerIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'AT-NTP-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'AT-NTP-MIB::atNtpPeerIndex'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-65535