gptp0SyncInterval
NINJA-MIB ·
.1.3.6.1.4.1.13827.17.4.2
Object
scalar Enumeration
This value is the log base 2 of the PTP Sync Interval in seconds. Values range from -7 to 0, which covers the range from 1/128 to 1 second.
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 'NINJA-MIB' -M '/opt/observium/mibs/endrun:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NINJA-MIB::gptp0SyncInterval.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::gptp0SyncInterval'
Syntax
Enumeration
Values & Constraints
Enumerated Values
-7 | msec8 |
-6 | msec16 |
-5 | msec31 |
-4 | msec63 |
-3 | msec125 |
-2 | msec250 |
-1 | msec500 |
0 | sec1 |