atNtpPeerMode
AT-NTP-MIB ·
allied-old variant
·
.1.3.6.1.4.1.207.8.4.4.4.502.7.1.3
Object
column r/w
Enumeration
This object represents the mode of the peer. It's value is coded as follows: server(1), peer(2)
Context
- MIB
- AT-NTP-MIB
- OID
.1.3.6.1.4.1.207.8.4.4.4.502.7.1.3- 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::atNtpPeerMode'
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::atNtpPeerMode.<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::atNtpPeerMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | server |
2 | peer |