I have a number of systems which run services which depend on the system time being accurate. I'd therefore like to monitor and alert if the system time is drastically different from a known-good source - be it an NTP server which should always be OK or the local ZenOSS host.
Nagios has a plugin called check_time, but this requires setting something up on the client side. SNMP, on the other hand, has a very handy OID 1.3.6.1.2.1.25.1.2, which gives the system date, time and UTC offset. The obvious solution is to take this value from the host that you want to check, compare with the OID from a likely-good host and graph the difference, alerting when the difference exceeds a set threshold. But arithmetic on dates and times cleanly is a pain and I'm wondering if anyone else has already found a way of doing the hard work. -------------------- m2f -------------------- Read this topic online here: http://community.zenoss.com/forums/viewtopic.php?p=16760#16760 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
