From: Nelis, W. <Wim...@nl...> - 2017-03-24 10:12:31
|
Hello Bruce, See Devmon patch #12 for an alternative: https://sourceforge.net/p/devmon/patches/12/ Regards, Wim Nelis. -----Original Message----- From: Bruce Ferrell [mailto:bfe...@ba...] Sent: 23 March 2017 16:23 To: dev...@li... Subject: [Devmon] Cisco 2960 uptime wrap I'm using devmon with xymon and I got an interesting surprise this am. An alert for CPU/uptime. The messages indicated last reboot reason was power up. The OID in the template for this is .1.3.6.1.2.1.1.3.0 RFC1213-MIB::sysUpTime.0 = Timeticks: After investigating the switch and seeing it thought it had been up over a year, I did some googling and found that OID is a 32 bit int and it wraps at 496 days, resulting in xymon thinking the device just booted. I can see why that OID might be used; it returns not just the timeticks but also an uptime in hours:minutes:seconds. Easy to parse, but "prone" to this error. Can anyone think of a better OID to use? |