From: Bruce F. <bfe...@ba...> - 2017-03-23 16:33:45
|
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? |