Todd Eddy said the following on 11/24/2007 04:53 AM:
> Just wanted to say thanks and that it works fine here using ubuntu 6.06
> so debian users shouldn't have issues either.  Only thing I had to
> install was grace using `apt-get install grace`
> 
> Couple notes for us ubuntu / debian users.  The peerstats files are kept
> in /var/logs/ntpstats.  On here it keeps the last 10 days with the last
> 8 days gzip'd.  So when you modify the scripts you will have to use
> gunzip -c on those files.  Also the default $work_dir doesn't exist and
> the $ntp_template path needs to be changed.

Thanks for the comments, Todd.

Regarding the logs -- you can set the log location in ntp.conf (I use an
nfs mount so logging data from all the servers is on my data processing
system).

On my Debian systems, there is a script called (surprisingly) ntp in the
/etc/cron.daily directory that does the log pruning.  I've modified mine
to tweak the number of days logs it keeps, and to remove the gzip stage.

One problem is that if you keep lots of days worth of logs and create a
long-term plot from it, the program can take a long time to run.  It
doesn't keep a lot of data in memory, so it's looping through maybe 100
MB of log data.  You can also get cases where Grace is unhappy because
it's being fed too large a data set (though it will usually plot OK).
To address both these problems, I just added a new option that allows
averaging the data points down to a smaller number before feeding them
to Grace.  It makes a modest difference in speed (because it still has
to loop through the main log file to pull out the individual server
data) but keeps Grace happy and makes the long term plots a bit smoother
looking.  I plan to upload that version by the end of the weekend.

John
_______________________________________________
timekeepers mailing list
[email protected]
https://fortytwo.ch/mailman/cgi-bin/listinfo/timekeepers

Reply via email to