localTime

NETRANGER · .1.3.6.1.4.1.2252.1.1.1.0.4

Object

scalar mandatory Integer32
The time at which the message was generated, expressed
in number of seconds since the epoch (Jan 1, 1970),
with respect to the timezone local to the machine
that generated the message.  The combination of the
globalTime and the localTime can be used to calculate
the timezone of the source machine.
          
This object cannot be retrieved from the SNMP agent.

Context

MIB
NETRANGER
OID
.1.3.6.1.4.1.2252.1.1.1.0.4
Type
scalar
Access
readonly
Status
mandatory
Parent
commonVars

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

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

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647