Generate Graphs from chrony logs
Switch branches/tags
Nothing to show
Clone or download
ddrown Merge pull request #1 from mlichvar/master
Make LOGDIR configurable and titles file optional
Latest commit 328ad0a Apr 5, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin don't require titles file to exist Apr 5, 2017
runX run-cron script from Gary E. Miller Jun 10, 2016
.gitignore add support to pull remote logfiles Mar 20, 2016
README.md note branch Jun 10, 2016
titles.example graphing chrony stats Mar 8, 2016

README.md

This is for graphing logs from chrony. See the branch "ntpd" for ntpd/ntpsec graphs

Packages needed:

perl-DateTime
liberation-sans-fonts
gnuplot (needs Cairo/Pango support for best graphs)
bc

To setup:

cp bin/copy-to-website.example bin/copy-to-website
# edit bin/copy-to-website to copy the files to your website
cp titles.example titles
# edit titles to have the IPs and hostnames of your remote clocks
cp -a runX run1
# edit run1/index.html.tmpl to show the graphs for the IPs of the remote clocks
# edit bin/run if your logdir is different: LOGDIR=/var/log/chrony

To run (under screen/tmux):

cd run1 ; ../bin/loop
# edit run1/notes to keep notes

Optional scripts:

run1/startime - echo the unix timestamp to start at
run1/custom-plot - generate some custom plots
bin/copy-logfiles - download the logfiles from elsewhere, see copy-logfiles.example