swTimeCapacity
TIME-MIB ·
.1.3.6.1.4.1.171.12.10.1
Object
scalar Bits
Indicates the time capacity supported in the system . If sntp bit 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 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 bit is 1 , indicate the real time clock is supported else if the bit is 0, the real time clock is not supported .
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 'TIME-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIME-MIB::swTimeCapacity.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TIME-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TIME-MIB::swTimeCapacity'
Syntax
Bits
Values & Constraints
Enumerated Values
0 | systemTime |
1 | sntp |
2 | summerTime |
3 | realTimeClock |