[ntp:questions] Testing Sync Across Several Systems

paul chaofu.chen at gmail.com
Mon Jul 20 14:11:29 UTC 2009


On Jul 20, 8:38 pm, T <g41... at motorola.com> wrote:
> Greetings:
>
> We have about 50 Linux/Solaris/Windows boxes running ntpd at several
> different sites. Some of the systems from time to time go out of sync.
> My question is there a way to test ntpd machines are all in sync with
> the master
> server?
>
> I was thinking of using ssh to get on to each machine to do a date and
> then go back to the master and do a date and compare, but this seems
> problematic at best. What do people do to check that all machines are
> in sync?
>
> Thanks in Advanced for any help.
>
>    Tom

My solution is to run 'ntpq -p <hostname>' remotely from monitoring
host.
Output of the command can be processed by some kind of scripts, like
perl
or python, or be redirected to other program.




More information about the questions mailing list