swTimeCapacity

DLINK-TIME-MIB · .1.3.6.1.4.1.171.12.10.1

Object

scalar Bits
A string of 8 bits, corresponding to indicates the time capacity supported in the system.
If sntp bit(1) is 1 , indicate the SNTP is supported else if sntp bit is 0, the SNTP
is not supported and the subtree swSNTP will not supported also.
If summerTime bit(2) is 1 ,indicate the SummerTime is supported else if sntp bit is 0,
the SummerTime is not supported and the subtree swSummerTime will not supported
also.
If realTimeClock(3) bit is 1 , indicate the real time clock is supported else if the
bit is 0, the real time clock is not supported .
          
Default systemTime bit(0) is 1; indicate the system time is supported.

Context

MIB
DLINK-TIME-MIB
OID
.1.3.6.1.4.1.171.12.10.1
Type
scalar
Access
readonly
Status
current
Parent
swDlinkTimeMIB

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

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

Syntax

Bits

Values & Constraints

Enumerated Values
0systemTime
1sntp
2summerTime
3realTimeClock