SNMP Timeticks Converter

Convert an SNMP TimeTicks integer or a snmpwalk output line into elapsed seconds and a readable duration. TimeTicks are measured in hundredths of a second. The converter accepts a raw integer or the parenthesized value commonly returned for sysUpTime.0, then displays days, hours, minutes, seconds, and fractional seconds.

Time conversion

Convert SNMP Timeticks to uptime

Convert sysUpTime or a Timeticks value from snmpwalk into seconds and a readable duration. One TimeTicks unit is one hundredth of a second.

Elapsed time

0d 10h 54m 41.77s

Seconds

39,281.77

sysUpTime reports hundredths of a second

Days

0.455

SNMP TimeTicks are unsigned 32-bit hundredths of a second. They wrap after about 497 days. sysUpTime measures time since the network-management subsystem initialized, which may differ from the host's boot time.

How SNMP sysUpTime is measured

The standard sysUpTime object is a TimeTicks value representing time since the network-management portion of the system was reinitialized. Divide the integer by 100 to get seconds. For example, 3,928,177 ticks represent 39,281.77 seconds, or about 10 hours, 54 minutes, and 41.77 seconds.

TimeTicks is an unsigned 32-bit value. It wraps after 4,294,967,295 ticks, which is approximately 497.1 days. A lower reading can therefore indicate rollover, a restarted agent, or a device reboot. Compare sequential samples with care, especially when uptime is near the wrap limit.

sysUpTime is not always host uptime

An SNMP agent may restart independently from the operating system. sysUpTime starts again when the SNMP management subsystem initializes, while hrSystemUptime in HOST-RESOURCES-MIB describes host initialization time. Vendors can implement details differently, so compare both values when diagnosing a suspected reboot.

To detect a reboot from polling, retain the previous uptime and system identity. A sudden decrease that cannot be explained by the approximately 497-day counter wrap is evidence of a restart. A changed sysObjectID, sysName, or engine identifier can help distinguish a replaced device from a restart.

Frequently asked questions

How many seconds are in one TimeTicks unit?

One tick is one hundredth of a second, or 0.01 seconds.

Why did sysUpTime decrease?

The agent may have restarted, the device may have rebooted, or the unsigned 32-bit counter may have wrapped after roughly 497 days.

Does sysUpTime show when the operating system booted?

It measures time since the SNMP management subsystem was initialized. On some devices that coincides with boot, but it is not guaranteed.

Conclusion

Divide TimeTicks by 100 to convert the value to seconds, and account for the 32-bit wrap when comparing samples. Use the SNMP walk decoder to inspect raw output or the OID lookup to identify uptime objects.

Monitor it from outside the network

SNMP only tells you a box is healthy while something is still asking. ostr.io polls your endpoints externally and fires email + SMS alerts the moment a reading crosses your line — or the agent goes silent.