juniNtpSysClockState
Juniper-System-Clock-MIB ·
.1.3.6.1.4.1.4874.2.2.56.2.1.1
Object
scalar Enumeration
Displays the state of the NTP on the system clock. Clock states are: 0 - Clock has never been calibrated for frequency errors 1 - Clock frequency errors calibration has done 2 - Clock time has set to server time 3 - Clock frequency errors calibration is going on 4 - Clock has synchronized its time 5 - Clock has detected spike
Context
- MIB
- Juniper-System-Clock-MIB
- OID
.1.3.6.1.4.1.4874.2.2.56.2.1.1- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- juniNtpSysClock
- Groups
- 2
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 'Juniper-System-Clock-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-System-Clock-MIB::juniNtpSysClockState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Juniper-System-Clock-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Juniper-System-Clock-MIB::juniNtpSysClockState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | neverFrequencyCalibrated |
1 | frequencyCalibrated |
2 | setToServerTime |
3 | frequencyCalibrationIsGoingOn |
4 | synchronized |
5 | spikeDetected |
Conformance
Member of