ptpTimeSource
FIBERSTORE-MIB ·
.1.3.6.1.4.1.52642.1.85.1.35
Object
scalar r/w
Enumeration
The attribute indicates the source of time used by the local clock. atomic-clock(1), gps(2), terrestrial-radio(3), ptp(4), ntp(5), hand-set(6), other(7), internal-oscillator(8).
Context
- MIB
- FIBERSTORE-MIB
- OID
.1.3.6.1.4.1.52642.1.85.1.35- Type
- scalar
- Access
- readwrite
- Status
- current
- Default
internal-oscillator- Parent
- ptpGlobalInfo
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 'FIBERSTORE-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FIBERSTORE-MIB::ptpTimeSource.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FIBERSTORE-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FIBERSTORE-MIB::ptpTimeSource'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | atomic-clock |
2 | gps |
3 | terrestrial-radio |
4 | ptp |
5 | ntp |
6 | hand-set |
7 | other |
8 | internal-oscillator |