ntpLeapIndBits

XDC330X-MIB · .1.3.6.1.4.1.13827.16.1.11

Object

scalar Enumeration
This is a status code indicating:  normal operation, a leap second to
be inserted in the last minute of the current day, a leap second to be
deleted in the last second of the day or an alarm condition indicating
loss of timing synchronization.  The leap indicator field of NTP reply
packets sent from this server is set to ntpLeapIndBits.

Context

MIB
XDC330X-MIB
OID
.1.3.6.1.4.1.13827.16.1.11
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::ntpLeapIndBits.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::ntpLeapIndBits'

Syntax

Enumeration

Values & Constraints

Enumerated Values
0noFaultorLeap
1leapInsWarning
2leapDelWarning
3unSynchronized