myntpSysLeap

DES7200-NTP-MIB · .1.3.6.1.4.1.171.10.97.2.49.1.1.1

Object

scalar mandatory r/w NTPLeapIndicator
Two-bit code warning of an impending leap second to
be inserted in the NTP timescale. This object can be
set only when the myntpSysStratum has a value of 1.

Context

MIB
DES7200-NTP-MIB
OID
.1.3.6.1.4.1.171.10.97.2.49.1.1.1
Type
scalar
Access
readwrite
Status
mandatory
Parent
myntpSystem
Groups
1

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

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

Syntax

Source
NTPLeapIndicator
Base type
Enumeration

Values & Constraints

Type Values
0noWarning
1addSecond
2subtractSecond
3alarm

Conformance

Member of