wrsSystemClockStatus
WR-SWITCH-MIB ·
.1.3.6.1.4.1.96.100.6.2.2.5
Object
scalar Enumeration
Grouped status of system clock
ok - system clock is withing threshold (set in WRS configuration)
to NTP time and correct leap seconds file was loaded
error - system clock problem, either it diverged or incorrect leap
seconds file is used
warning - leapseconds file is not valid anymore and should be
updated
warningNA - some information could not be retrieved to calculate the
value of this object
Context
- MIB
- WR-SWITCH-MIB
- OID
.1.3.6.1.4.1.96.100.6.2.2.5- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- wrsTimingStatusGroup
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 'WR-SWITCH-MIB' -M '/opt/observium/mibs/white-rabbit:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'WR-SWITCH-MIB::wrsSystemClockStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'WR-SWITCH-MIB' -M '/opt/observium/mibs/white-rabbit:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'WR-SWITCH-MIB::wrsSystemClockStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | na |
1 | ok |
2 | error |
3 | warning |
4 | warningNA |