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

Scalars 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
1atomic-clock
2gps
3terrestrial-radio
4ptp
5ntp
6hand-set
7other
8internal-oscillator