From: Buchan M. <bg...@st...> - 2008-01-08 06:03:41
|
On Monday 07 January 2008 20:32:10 Joshua Krause wrote: > Has anyone come up with a way to show the true uptime on a cisco device via > devmon? Well, devmon uses what is available via SNMP ... > If you look at the uptime in hobbit that is getting it's info from > devmon and then log into the switch and do a "show version" the times are > different. And what I was told by Cisco is that they uptime is rollover > every 496 days. So if I have switches that have been up 495 days once they > go passed 496 hobbit will show them as being rebooted because when devmon > poll's the device the "sysUptime" rolled over and now show's zero time. Can you show the snmpwalk output for a device that has been up more than 496 days ? Maybe we can do something about it. (None of our cisco devices have uptimes that high ... aren't you a few IOS releases behind?). > Which hobbit assumes that it rebooted but it really hasn't. > > Is there anyway to get the time from the "show version" command or has > someone come up with a better way of getting the uptime of the device? If there is another way to get it via SNMP, sure. For example, does the timeticks integer value roll over ? Or, should devmon hold the state of the uptime over polls to avoid alerting near the rollover value? Regards, Buchan |