ntpStratum

XDC330X-MIB · .1.3.6.1.4.1.13827.16.1.15

Object

scalar Enumeration
This is an integer showing the current stratum level being reported by
the NTP daemon in its reply packets to clients.  If it is less than 16, 
it is synchronized to a network connected NTP server operating at one 
stratum lower.  If it is 16, then the server is unambiguously unsynchronized.
          
NTP clients on the network should be configured to not use the time from
this server if the stratum is 16.

Context

MIB
XDC330X-MIB
OID
.1.3.6.1.4.1.13827.16.1.15
Type
scalar
Access
readonly
Status
current
Parent
ntp

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'XDC330X-MIB' -M '/opt/observium/mibs/endrun:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'XDC330X-MIB::ntpStratum.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'XDC330X-MIB' -M '/opt/observium/mibs/endrun:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'XDC330X-MIB::ntpStratum'

Syntax

Enumeration

Values & Constraints

Enumerated Values
2ntpStratumTwo
3ntpStratumThree
16ntpStratumUnsync