cntpSysLeap
CISCO-NTP-MIB ·
.1.3.6.1.4.1.9.9.168.1.1.1
Object
Two-bit code warning of an impending leap second to be inserted in the NTP timescale. This object can be set only when the cntpSysStratum has a value of 1.
Context
- MIB
- CISCO-NTP-MIB
- OID
.1.3.6.1.4.1.9.9.168.1.1.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- cntpSystem
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-NTP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-NTP-MIB::cntpSysLeap.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-NTP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-NTP-MIB::cntpSysLeap'
Syntax
- Source
- NTPLeapIndicator
- Base type
Enumeration
Values & Constraints
Type Values
0 | noWarning |
1 | addSecond |
2 | subtractSecond |
3 | alarm |
Conformance
Member of