gntpStratum

RTM3205-MIB · .1.3.6.1.4.1.13827.15.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 1, then the server
is fully synchronized and delivering Stratum 1 accuracy.  If it is greater
than 1 and 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
RTM3205-MIB
OID
.1.3.6.1.4.1.13827.15.1.15
Type
scalar
Access
readonly
Status
current
Parent
gntp

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

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
1gntpStratumOne
2gntpStratumTwo
16gntpStratumUnsync