atNtpPeerVersion
AT-NTP-MIB ·
allied-old variant
·
.1.3.6.1.4.1.207.8.4.4.4.502.7.1.5
Object
column r/w
Integer32
This object represents the NTP version the peer supports. It's value is encoded as follows: 0 - unknown 1 - version 1 2 - version 2 3 - version 3 4 - version 4
Context
- MIB
- AT-NTP-MIB
- OID
.1.3.6.1.4.1.207.8.4.4.4.502.7.1.5- Type
- column
- Access
- readwrite
- 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::atNtpPeerVersion'
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::atNtpPeerVersion.<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::atNtpPeerVersion'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-4