From c43aad852ba8d0560790cace5124a62ae0352e61 Mon Sep 17 00:00:00 2001 From: Matt Rude Date: Mon, 30 May 2011 02:01:02 -0500 Subject: update graphs to be local --- index.html | 4 ++-- scripts/do-build-graphs | 21 ++++++++++++--------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/index.html b/index.html index c76efc7..d885f6e 100644 --- a/index.html +++ b/index.html @@ -21,8 +21,8 @@

Server Status

Both of these servers are running as stratum 2 time servers, with a maximum offset of 10ms.

- kirby status - twyla status + kirby status + twyla status

You may also view the current status of Kirby & Twyla's client files, or the pool's running status.

Acceptable use policy

diff --git a/scripts/do-build-graphs b/scripts/do-build-graphs index 45dab5d..1b3b5de 100755 --- a/scripts/do-build-graphs +++ b/scripts/do-build-graphs @@ -10,17 +10,17 @@ cd ${RRDPAGE} ${RRD_BIN}/rrdtool graph \ --imgformat=PNG ${GRAPHS}/kirby-clients.png \ --start=-86400 --end=-300 \ ---title='Kirby - 174.143.169.159 - Clients' \ +--title='Kirby - 174.143.169.159' \ --rigid \ ---height=150 \ ---width=400 \ +--height=100 \ +--width=290 \ --alt-autoscale-max \ --lower-limit=0 \ --vertical-label='Active Clients' \ --slope-mode \ --font TITLE:12: \ --font AXIS:8: \ ---font LEGEND:10: \ +--font LEGEND:8: \ --font UNIT:8: \ DEF:a="/var/www/time.mattrude.com/rrd/kriby-client.rrd":clients:AVERAGE \ AREA:a#002A97FF:"" \ @@ -31,24 +31,27 @@ GPRINT:a:MAX:"Max\:%8.2lf %s\n" \ ${RRD_BIN}/rrdtool graph \ --imgformat=PNG ${GRAPHS}/twyla-clients.png \ --start=-86400 --end=-300 \ ---title='Twyla - 174.143.174.61 - Clients' \ +--title='Twyla - 174.143.174.61' \ --rigid \ ---height=150 \ ---width=400 \ +--height=100 \ +--width=290 \ --alt-autoscale-max \ --lower-limit=0 \ --vertical-label='Active Clients' \ --slope-mode \ --font TITLE:12: \ --font AXIS:8: \ ---font LEGEND:10: \ +--font LEGEND:8: \ --font UNIT:8: \ DEF:a="/var/www/time.mattrude.com/rrd/twyla-client.rrd":clients:AVERAGE \ -AREA:a#002A97FF:"#:" \ +AREA:a#002A97FF:"" \ GPRINT:a:LAST:"Now\:%8.2lf %s" \ GPRINT:a:AVERAGE:"Avg\:%8.2lf %s" \ GPRINT:a:MAX:"Max\:%8.2lf %s\n" \ +/usr/bin/optipng ${GRAPHS}/kirby-clients.png +/usr/bin/optipng ${GRAPHS}/twyla-clients.png + #end -- cgit v1.2.3-59-ga6da