wrsPTPFramesFlowing

WR-SWITCH-MIB · .1.3.6.1.4.1.96.100.6.2.2.4

Object

scalar Enumeration
Grouped status of TX and RX PTP packets flowing
ok - when there are PTP packets flowing in both directions on all
     wr ports that are up
warningNA - there is N/A in one of object used to calculate this value
error - no PTP packets flowing on at least one wr up port
firstRead - cannot calculate value from only one read

Context

MIB
WR-SWITCH-MIB
OID
.1.3.6.1.4.1.96.100.6.2.2.4
Type
scalar
Access
readonly
Status
current
Parent
wrsTimingStatusGroup

Scalars 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::wrsPTPFramesFlowing.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::wrsPTPFramesFlowing'

Syntax

Enumeration

Values & Constraints

Enumerated Values
0na
1ok
2error
4warningNA
6firstRead