aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/README.md
diff options
context:
space:
mode:
authorMatt Rude <[email protected]>2011-06-12 12:39:25 -0500
committerMatt Rude <[email protected]>2011-06-12 12:39:25 -0500
commit6287cba6d7c74d52e02ec0c0eb39c656ddea71a8 (patch)
tree697539ec0c7a66af16a50ce99783aebd2df5a8cc /scripts/README.md
parent077fdf9b39a6bfbce4b4c4ec5ac4d036df00e40a (diff)
downloadtime.mattrude.com-6287cba6d7c74d52e02ec0c0eb39c656ddea71a8.tar.gz
time.mattrude.com-6287cba6d7c74d52e02ec0c0eb39c656ddea71a8.tar.bz2
time.mattrude.com-6287cba6d7c74d52e02ec0c0eb39c656ddea71a8.zip
Updated Scripts README
Diffstat (limited to 'scripts/README.md')
-rw-r--r--scripts/README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/README.md b/scripts/README.md
new file mode 100644
index 0000000..331825c
--- /dev/null
+++ b/scripts/README.md
@@ -0,0 +1,15 @@
+# NTP Scripts #
+
+I have written a set of scripts that use "ntpq -c rv" probes to gather statistics from the various servers. I'm using a list-of-systems mode with auto generation of the index.html file. The first script to run is do-newntpstat to create the database. Make sure the database that is created gets moved to the place where the next script can find it. Add your host name(s) to the list-of-systems and run do-mung-newhost to create the index.html file. The script takes template files 1. index-head, 2. template, 3. index-tail and churns out the updated web page. The cron job then runs do-xntp to update the png data images. A further script do-ntp-rrdstats probes the ntp-dev servers and extracts the reqired data it then uses to populate the rrd database.
+
+http://www.wraith.sf.ca.us/ntp/index.html#monitoring
+
+## Installing ##
+
+This site uses cron scripts to gather statistics from the diffrent servers and to build the graphs. Add the following to your crontab:
+
+ */5 * * * * <path_to_source>/scripts/do-xntp > /dev/null 2&>1
+
+## Adding a new server ##
+
+To add a new server to the site, run `do-newntpstat <server_name>`