hwNTPSysPrecision

HUAWEI-NTP-MIB · h3c variant · .1.3.6.1.4.1.2011.5.25.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
HUAWEI-NTP-MIB
OID
.1.3.6.1.4.1.2011.5.25.22.1.1.3
Type
scalar
Access
readonly
Status
current
Parent
hwNTPSystemMIBObjects

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

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

Syntax

Integer32

Values & Constraints

Object Constraints
range: -20-20