devNTPOffsetFromUTC
PDN-DEVICE-TIME-MIB ·
.1.3.6.1.4.1.1795.2.24.2.20.1.2.5
Object
Offset (minutes) from the coordinated universal time (UTC), also known as Greenwich mean time (GMT), to local time represented as a signed integer. The sign of the integer denotes the direction of local time from UTC (e.g., offsets for local times west of the zero meridian to the international date line are negative). Default value is 0 (i.e., at UTC).
Context
- MIB
- PDN-DEVICE-TIME-MIB
- OID
.1.3.6.1.4.1.1795.2.24.2.20.1.2.5- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- devNTP
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 'PDN-DEVICE-TIME-MIB' -M '/opt/observium/mibs/paradyne:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PDN-DEVICE-TIME-MIB::devNTPOffsetFromUTC.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PDN-DEVICE-TIME-MIB' -M '/opt/observium/mibs/paradyne:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PDN-DEVICE-TIME-MIB::devNTPOffsetFromUTC'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647