spClockDateAndTimeSetting

IMM-MIB · .1.3.6.1.4.1.2.3.51.3.3.2.1

Object

scalar mandatory r/w OctetString
IMM clock date and time setting. 
A date-time specification for the local time of day.
For example to set the date and time to 
March 4, 2001 at 06:00:00AM, set the value to:'03/04/2001,06:00:00'.  
field  contents         range
_____  ________         _____
  1     month           01..12
  2     separator       '/'
  3     day             01..31
  4     separator       '/'
  5     year            2000..2037
  6     separator       ','
  7     hour            00..23
  8     separator       ':'
  9     minutes         00..59
  10    separator       ':'
  11    seconds         00..59

Context

MIB
IMM-MIB
OID
.1.3.6.1.4.1.2.3.51.3.3.2.1
Type
scalar
Access
readwrite
Status
mandatory
Parent
spClock

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

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

Syntax

OctetString

Values & Constraints

No enumerated values or constraints recorded.