rlClockStatus
CISCOSB-TIMESYNCHRONIZATION-MIB ·
.1.3.6.1.4.1.9.6.1.101.92.1.16
Object
scalar RlClockStatus
Current status of the clock. The value 'invalid' means time is meaninglesss, since it has not been manually configured, or achieved as a result of SNTP synchronization or set by RTC or set by PnP.
Context
- MIB
- CISCOSB-TIMESYNCHRONIZATION-MIB
- OID
.1.3.6.1.4.1.9.6.1.101.92.1.16- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- rlTimeSyncMethodMode
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 'CISCOSB-TIMESYNCHRONIZATION-MIB' -M '/opt/observium/mibs/ciscosb:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCOSB-TIMESYNCHRONIZATION-MIB::rlClockStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCOSB-TIMESYNCHRONIZATION-MIB' -M '/opt/observium/mibs/ciscosb:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCOSB-TIMESYNCHRONIZATION-MIB::rlClockStatus'
Syntax
- Source
- RlClockStatus
- Base type
Enumeration
Values & Constraints
Type Values
1 | invalid |
2 | manuallySet |
3 | synchronizedBySntp |
4 | setByRtc |
5 | setByPnP |