check time syncronization

mark.potter at academy.com mark.potter at academy.com
Thu Feb 21 20:15:06 CET 2008


nagios-users-bounces at lists.sourceforge.net wrote on 02/21/2008 10:40:41 
AM:

> Goltz, Jim (NIH/NLM/LHC) [C] wrote:
> > Sorry. I meant, there's no plugin that lets you check from the Nagios
> > host whether host A is in sync with NTP server B. 
> >
> > NRPE works, but we can't use it here because of security issues.  I 
keep
> > forgetting not everyone is prohibited from running NRPE.
> > 
> If you have ntp on each server, and configure it correctly, you could 
> use check_ntp -H remote_server -w 15 to test if it's out of sync with 
> the Nagios server
> 
> The on the nagios server itself have the same check but against the real 

> ntp server, this way you've got a chain of correct times or not.
> 
> Not ideal, but one possible workaround.
> 
> Other ideas could be SNMP on the remote hosts, or NSCA to feed back to 
> the nagios server...
> 
> -h
> 
> -- 
> Hari Sekhon
> 
Another option would to be used check_by_ssh. I am, of course, assuming 
they are allowed to use ssh but a machine with no remote connectivity is a 
problem to begin with. check_by_ssh isn't quite as nice as nrpe but it 
would accomplish the checks in question. One could also write a pretty 
simple wrapper to check the time on both servers, compare it, and account 
for the lag between the checks. It wouldn't be pretty but it would work 
for the most part.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080221/1cdd6f36/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


More information about the Users mailing list