nnsysDstCurTime
SYSTEM-MIB ·
.1.3.6.1.4.1.562.73.1.1.1.1.20.3
Object
scalar r/w
OctetString
Day Light savings CurrentTime
-- field octets contents range
-- ===== ====== ======== =====
-- 1 1 day 0...7
-- 2 1 month 1..12
-- 3 2 date 0..31
-- 4 1 hour 0..23
-- 5 1 minutes 0..59
-- 6 1 seconds 0..60
-- (use 60 for leap-second)
-- 7 2 year 1970..2100
--
-- For example, WED MAY 21 15:40:17 2008
-- would be displayed as:
--
-- 03 05 15 05 28 2F 07 D8 00 00
Context
- MIB
- SYSTEM-MIB
- OID
.1.3.6.1.4.1.562.73.1.1.1.1.20.3- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- nnsysDst
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 'SYSTEM-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SYSTEM-MIB::nnsysDstCurTime.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SYSTEM-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SYSTEM-MIB::nnsysDstCurTime'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 10-10