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

Values & Constraints

Type Values
0noWarning
1addSecond
2subtractSecond
3alarm