sysCurrentTime

SMC6152L2-MIB · .1.3.6.1.4.1.202.20.66.1.23.2

Object

scalar r/w OctetString
This is a text string in the following form, based on Unix:
'Mmm _d hh:mm:ss yyyy'. 'Mmm' are the first three letters
of the English name of the month. '_d' is the day of month.
A single-digit day is preceded by a space. 'hh:mm:ss' is
a 24-hour representations of hours, minutes, and seconds.
A single-digit hour is preceded by a zero. 'yyyy' is a
four-digit year. An example is: 'Jan  1 02:03:04 2002'.

Context

MIB
SMC6152L2-MIB
OID
.1.3.6.1.4.1.202.20.66.1.23.2
Type
scalar
Access
readwrite
Status
current
Parent
sysTimeMgt

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

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

Syntax

OctetString

Values & Constraints

Object Constraints
range: 20-20