What is the length of Cisco SNMP sysUpTime counter? 32 bits?
Did a quick test and it looks like the data is a type 'Timeticks' which is a 32 bit integer. From the RFC:
The TimeTicks type represents a non-negative integer which represents the time, modulo 2^32 (4294967296 decimal), in hundredths of a second between two epochs. When objects are defined which use this ASN.1 type, the description of the object identifies both of the reference epochs.
[user@host ~]$ snmpwalk -v 2c -c $COMMUNITY $DEVICE sysUpTime DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (1342832478) 155 days, 10:05:24.78
sysUpTime is a 32-bit counter and will roll over after 496 days.
snmpEngineTime (.22.214.171.124.126.96.36.199.1.3) which returns the uptime in seconds and should not roll over for 135 years.
snmpwalk -v2c -c xx 10.xx.xxx.xxx .188.8.131.52.184.108.40.206.1.3 SNMP-FRAMEWORK-MIB::snmpEngineTime.0 = INTEGER: 1701562 seconds snmpwalk -v2c -c xx 10.xx.xxx.xxx sysUpTime DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (170158257) 19 days, 16:39:42.57