nnsysDateTime
SYSTEM-MIB ·
.1.3.6.1.4.1.562.73.1.1.1.1.1.11
Object
scalar r/w
OctetString
System date/time
-- A date-time specification.
--
-- field octets contents range
-- ===== ====== ======== =====
-- 1 1 direction from UTC '+' / '-'
-- 2 1 hours from UTC 0..23
-- 3 1 minutes from UTC 0..59
-- 4 1 month 1..12
-- 5 1 day 1..31
-- 6 2 year 1970..2100
-- 7 1 hour 0..23
-- 8 1 minutes 0..59
-- 9 1 seconds 0..60
-- (use 60 for leap-second)
--
-- For example, Tuesday May 26, 1992 at 1:30:15 PM
-- EDT would be displayed as:
--
-- 1992-5-26,13:30:15.0,-4:0
--
-- Note that if only local time is known, then
-- time zone information (fields 8-10) is not
-- present.
Context
- MIB
- SYSTEM-MIB
- OID
.1.3.6.1.4.1.562.73.1.1.1.1.1.11- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- nnsystemObjects
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::nnsysDateTime.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::nnsysDateTime'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 10-10