Goltz, Jim (NIH/NLM/LHC) [C] wrote: > SR> Is there a plugin that checks the difference in time between the > checked > SR> host and - say - a specified ntp server? > > We just started doing this here. We're using "check_ntp -H host -w warn > -c > crit", where "host" is the remote host and "warn" and "crit" are > thresholds > for time difference between the Nagios host and the remote host, in > seconds. > > check_ntp, check_ntp_peer and check_ntp_time are part of the standard > plugins. I don't think any of them allow you to check the difference in > system time between a remote host and its NTP server, but as long as > your > Nagios host is synced correctly it should work. If every monitored host > seems to drop sync at the same time you'll know your Nagios host's sync > has > been lost. :-) > Of course you can, just use "check_ntp -H ntpserver -w 30", which warns you if the clock time is out by more than 15 seconds.
Run it through an nrpe call on each remote server you want to keep monitored. This is what I do, this way each server is tested against the ntp server than it is supposed to sync against. -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null