I thought I had seen an entry in the forum somewhere about this but I can't seem to find it. I am pulling an OID for system up time. It is the standard system mib entry and responds like this: snmpget -v 2c -c Canopy 10.10.31.3 .1.3.6.1.2.1.1.3.0
SNMPv2-MIB::sysUpTime.0 = Timeticks: (860131108) 99 days, 13:15:11.08
So I get the vaue stored as 860131108 and I would like it in at lease hours if not days, hours,min,sec format. I have tried "s" and "S" in Units and I get the same thing. Any advice on doing this correctly would be greatly appreciated.
SNMPv2-MIB::sysUpTime.0 = Timeticks: (860131108) 99 days, 13:15:11.08
So I get the vaue stored as 860131108 and I would like it in at lease hours if not days, hours,min,sec format. I have tried "s" and "S" in Units and I get the same thing. Any advice on doing this correctly would be greatly appreciated.

Comment