hmNetPTPCurrentUTCOffset

HMPRIV-MGMT-SNMP-MIB · .1.3.6.1.4.1.248.14.2.3.40.1.22

Object

UTC time differs from the TAI time by a constant offset. 
This offset is modified on occasion by adding or subtracting
leap seconds. The current number of leap seconds is represented
in PTP by the value of hmNetPTPCurrentUTCOffset.

Context

MIB
HMPRIV-MGMT-SNMP-MIB
OID
.1.3.6.1.4.1.248.14.2.3.40.1.22
Type
scalar
Access
readonly
Status
current
Parent
hmNetPTPConfiguration

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

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

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647