How can I get the system uptime from a cisco switch?
The OID I am using is:
SNMP-FRAMEWORK-MIB:snmpEngineTime
OID: 1.3.6.1.6.3.10.2.1.3
Access: Read-Only
Type: Integer
The number of seconds since the SNMP engine last
incremented the snmpEngineBoots object.
I need to convert the timeticks to years/weeks/hours/minutes/seconds.
3750#
uptime is 49 weeks, 3 days, 2 hours, 14 minutes