rcNtpSysLeap
RAISECOM-NTP-MIB ·
.1.3.6.1.4.1.8886.6.1.44.1.1.1
Object
scalar 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 rcNtpSysStratum has a value of 1.
Context
- MIB
- RAISECOM-NTP-MIB
- OID
.1.3.6.1.4.1.8886.6.1.44.1.1.1- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- rcNtpSystem
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 'RAISECOM-NTP-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAISECOM-NTP-MIB::rcNtpSysLeap.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAISECOM-NTP-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAISECOM-NTP-MIB::rcNtpSysLeap'
Syntax
- Source
- NTPLeapIndicator
- Base type
Enumeration
Values & Constraints
Type Values
0 | noWarning |
1 | addSecond |
2 | subtractSecond |
3 | alarm |