tmnxNtpSysLeap

TIMETRA-NTP-MIB · .1.3.6.1.4.1.6527.3.1.2.38.1.1.1

Object

The value of tmnxNtpSysLeap indicates the two-bit code
warning of an impending leap second to be inserted in the NTP
timescale.  This object can only be set when tmnxNtpSysStratum
has a value of 1, primary reference.

Context

MIB
TIMETRA-NTP-MIB
OID
.1.3.6.1.4.1.6527.3.1.2.38.1.1.1
Type
scalar
Access
readonly
Status
current
Parent
tmnxNtpSystem
Groups
2

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

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

Syntax

Source
NTPLeapIndicator
Base type
Enumeration
Type Description
NTPLeapIndicator is an enumerated integer that
represents a two-bit code warning of an impending leap
second to be inserted in the NTP timescale.  The bits
are set before 23:59 on the day of insertion and reset
after 00:00 on the following day.  This causes the
number of seconds (rollover interval) in the day of
insertion to be increased or decreased by one.  The two
bits are coded as below,
00, no warning
01, last minute has 61 seconds
10, last minute has 59 seconds
11, alarm condition (clock not synchronized)

Values & Constraints

Type Values
0noWarning
1addSecond
2subtractSecond
3alarm