2 troubling concerns:

1) NTP's 'rawstats' file fails to write (or even be created).  Oddly,
peerstats, loopstats, clockstats, and sysstats all write and update as
expected.  Please see my ntp.conf file at the bottom of this message.  I
don't believe that the config file is the problem, but maybe I'm wrong.

2) Peerstats updates in a bizarre fashion.  If the system time is close to
my reference time (GPS/PPS), then it updates every 16 seconds as indicated
by the 'poll' field that I see with the 'ntpq -p' command.  However when I
manually fudge the system time by X minutes using the 'date' command,
peerstats will not update itself for X minutes.  Once X minutes have
passed, the offset is sub-millisecond, and peerstats will resume logging
its results ever 16 seconds.

My goal is to monitor the offset after I manually fudge the system time,
to see the rate that NTP adjusts system time.  Oddly, peerstats will not
update if I fudge the system time by -5 minutes, and rawstats fails to
write at all.

At the very least, this gives me a chance to document my thoughts.  Any
opinions on this behavior are greatly appreciated.

/etc/ntp.conf:
***********************************************************
ftfile /var/log/ntpstats/drift
logfile /var/log/ntpstats/xntpd
statsdir /var/log/ntpstats/

enable stats

statistics loopstats peerstats clockstats sysstats rawstats
#statistics rawstats
filegen rawstats   file rawstats1  type dat enable
filegen loopstats  file loopstats  type day enable
filegen peerstats  file peerstats  type day enable
filegen clockstats file clockstats type day enable
filegen sysstats   file sysstats   type day enable
filegen rawstats   file rawstats   type day enable

enable kernel

server 127.127.1.0                              # Local clock
fudge  127.127.1.0 stratum 8    # Local stratum

server 127.127.30.0 prefer              # GPS clock
************************************************************
_______________________________________________
pool mailing list
[email protected]
http://lists.ntp.org/listinfo/pool

Reply via email to