sysDateTime
OMNITRON-MIB ·
.1.3.6.1.4.1.7342.2.1.3.1.2
Object
column r/w
OctetString
This variable provides the date and time in display format:
nn/dd/yyyy hh:mm:ss
where nn = 2 digit month, dd = 2 digit day, yyyy = 4 digit year
hh - 2 digit hour 0-23, mm = 2 digit minutes 0-59, ss = 2 digit secs 0-59
Context
- MIB
- OMNITRON-MIB
- OID
.1.3.6.1.4.1.7342.2.1.3.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- moduleMgtCfgEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'OMNITRON-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-MIB::sysDateTime'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OMNITRON-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-MIB::sysDateTime.<modchassnum>.<modslotnum>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OMNITRON-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OMNITRON-MIB::sysDateTime'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 19-19
Conformance
Member of