sysCurrentTime
V2H124-24-MIB ·
.1.3.6.1.4.1.52.4.12.30.1.23.2
Object
scalar r/w
OctetString
It is a text string in the following form, based on Unix: 'Mmm _d hh:mm:ss yyyy'. 'Mmm' is the first three letters of the English name of the month. '_d' is the day of month. A single-digit day is preceded by the 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 the four-digit year. An example is: 'Jan 1 02:03:04 2002'.
Context
- MIB
- V2H124-24-MIB
- OID
.1.3.6.1.4.1.52.4.12.30.1.23.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- sysTimeMgt
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 'V2H124-24-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'V2H124-24-MIB::sysCurrentTime.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'V2H124-24-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'V2H124-24-MIB::sysCurrentTime'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 20-20