probeDateTime

RMON2-MIB · .1.3.6.1.2.1.16.19.4

Object

scalar r/w OctetString
Probe's current date and time.
          
field  octets  contents                  range
-----  ------  --------                  -----
  1      1-2   year                      0..65536
  2       3    month                     1..12
  3       4    day                       1..31
  4       5    hour                      0..23
  5       6    minutes                   0..59
  6       7    seconds                   0..60
                (use 60 for leap-second)
  7       8    deci-seconds              0..9
  8       9    direction from UTC        '+' / '-'
  9      10    hours from UTC            0..11
 10      11    minutes from UTC          0..59
          
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, and that if no time information is known, the
null string is returned.

Context

MIB
RMON2-MIB
OID
.1.3.6.1.2.1.16.19.4
Type
scalar
Access
readwrite
Status
current
Parent
probeConfig
Groups
1

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RMON2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RMON2-MIB::probeDateTime.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RMON2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RMON2-MIB::probeDateTime'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 0-0 range: 8-8 range: 11-11

Conformance