ntpEntStatusLeapSecond
NTPv4-MIB ·
.1.3.6.1.2.1.197.1.2.10
Object
scalar NtpDateTime
Date the next known leap second will occur. If there is no leap second announced, then this object should be 0.
Context
- MIB
- NTPv4-MIB
- OID
.1.3.6.1.2.1.197.1.2.10- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- ntpEntStatus
- 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 'NTPv4-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NTPv4-MIB::ntpEntStatusLeapSecond.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NTPv4-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NTPv4-MIB::ntpEntStatusLeapSecond'
Syntax
- Source
- NtpDateTime
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0
range: 16
Conformance
Member of