gptp0ClockClass

NINJA-MIB · .1.3.6.1.4.1.13827.17.4.9

Object

scalar Enumeration
This value maps to the PTP Clock Class, one of Locked, Holdover or Unlocked
on either the PTP or arbitrary, i.e. UTC time scale.

Context

MIB
NINJA-MIB
OID
.1.3.6.1.4.1.13827.17.4.9
Type
scalar
Access
readonly
Status
current
Parent
gptp0

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NINJA-MIB' -M '/opt/observium/mibs/endrun:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NINJA-MIB::gptp0ClockClass.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NINJA-MIB' -M '/opt/observium/mibs/endrun:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NINJA-MIB::gptp0ClockClass'

Syntax

Enumeration

Values & Constraints

Enumerated Values
6lockedPTP
7holdoverPTP
13lockedARB
14holdoverARB
52unlockedPTP
58unlockedARB