hh3cNTPSysPrecision

HH3C-NTP-MIB · .1.3.6.1.4.1.25506.8.22.1.1.3

Object

scalar Integer32
Precision : This is a signed integer indicating the
precision of the various clocks, in seconds to the nearest
power of two.  The value must be rounded to the next larger
power of two; for instance, a 50-Hz (20 ms) or 60-Hz (16.67ms)
power-frequency clock would be assigned the value -5 (31.25 ms),
while a 1000-Hz (1 ms) crystal-controlled clock would be assigned
the value -9 (1.95 ms).

Context

MIB
HH3C-NTP-MIB
OID
.1.3.6.1.4.1.25506.8.22.1.1.3
Type
scalar
Access
readonly
Status
current
Parent
hh3cNTPSystemMIBObjects

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

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

Syntax

Integer32

Values & Constraints

Object Constraints
range: -20-20