date-and-time

FUTURESMART-MIB · .1.3.6.1.4.1.11.2.3.9.4.2.1.1.2.17

Object

scalar optional r/w OctetString
A C structure containing the following fields:  typedef
struct {  
    ubyte yr; /* year: 0 to 99 */  
    ubyte mon; /* month: 1 to 12 */  
    ubyte day; /* day: 1 to 31 */  
    ubyte wday; /* Day of week: 1 to 07 */  
    ubyte hr; /* hour: 0 to 23 */  
    ubyte min; /* minute: 0 to 59 */  
    ubyte sec; /* second: 0 to 59 */  
    } date_t;  
   where ubyte is an unsigned byte (0-255).

Context

MIB
FUTURESMART-MIB
OID
.1.3.6.1.4.1.11.2.3.9.4.2.1.1.2.17
Type
scalar
Access
readwrite
Status
optional
Parent
status-system

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

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

Syntax

OctetString

Values & Constraints

No enumerated values or constraints recorded.