timeCurrent
CISCO-DMN-DSG-TIME-MIB ·
.1.3.6.1.4.1.1429.2.2.5.23.1.4
Object
scalar OctetString
It displays the current date and time taking into account the value of timeGMTOffset, as per the format specified by timeDateFormat and timeFormat.
Context
- MIB
- CISCO-DMN-DSG-TIME-MIB
- OID
.1.3.6.1.4.1.1429.2.2.5.23.1.4- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- timeInfo
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 'CISCO-DMN-DSG-TIME-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-DMN-DSG-TIME-MIB::timeCurrent.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-DMN-DSG-TIME-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-DMN-DSG-TIME-MIB::timeCurrent'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-30