aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMatt Rude <[email protected]>2011-06-19 00:49:45 -0500
committerMatt Rude <[email protected]>2011-06-19 00:49:45 -0500
commit71bad07b61103bf5102e1b6c5fca6385faa9c718 (patch)
treef8e165121736c90d6cfefca813f65b9529653f3b /scripts
parenta47f377c520d8d577741fe34012678063e25661a (diff)
downloadtime.mattrude.com-71bad07b61103bf5102e1b6c5fca6385faa9c718.tar.gz
time.mattrude.com-71bad07b61103bf5102e1b6c5fca6385faa9c718.tar.bz2
time.mattrude.com-71bad07b61103bf5102e1b6c5fca6385faa9c718.zip
add end to graphs
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/do-xntp18
1 files changed, 9 insertions, 9 deletions
diff --git a/scripts/do-xntp b/scripts/do-xntp
index 67ec9b5..1ab472a 100755
--- a/scripts/do-xntp
+++ b/scripts/do-xntp
@@ -31,7 +31,7 @@ do
GPRINT:a:MAX:"Max\:%8.2lf %s\n" > /dev/null
${RRD_BIN}/rrdtool graph --imgformat PNG ${STATUS}/${X}/daily-ntp-clients.png \
- --width=650 --height=200 --start=-86400 \
+ --width=650 --height=200 --start=-86400 --end=-300 \
--title="${X} - Number of Active Clients" \
--vertical-label='Number of Clients' \
DEF:a="${RRDPAGE}/${X}-clients.rrd":clients:LAST \
@@ -46,7 +46,7 @@ do
GPRINT:b:MAX:"Maximum\:%8.2lf %s\n" > /dev/null
${RRD_BIN}/rrdtool graph --imgformat PNG ${STATUS}/${X}/weekly-ntp-clients.png \
- --width=650 --height=200 --start=-691200 \
+ --width=650 --height=200 --start=-691200 --end=-300 \
--title="${X} - Number of Active Clients" \
--vertical-label='Number of Clients' \
DEF:a="${RRDPAGE}/${X}-clients.rrd":clients:LAST \
@@ -61,7 +61,7 @@ do
GPRINT:b:MAX:"Maximum\:%8.2lf %s\n" > /dev/null
${RRD_BIN}/rrdtool graph --imgformat PNG ${STATUS}/${X}/monthly-ntp-clients.png \
- --width=650 --height=200 --start=-2629744 \
+ --width=650 --height=200 --start=-2629744 --end=-300 \
--title="${X} - Number of Active Clients" \
--vertical-label='Number of Clients' \
DEF:a="${RRDPAGE}/${X}-clients.rrd":clients:LAST \
@@ -76,7 +76,7 @@ do
GPRINT:b:MAX:"Maximum\:%8.2lf %s\n" > /dev/null
${RRD_BIN}/rrdtool graph --imgformat PNG ${STATUS}/${X}/yearly-ntp-clients.png \
- --width=650 --height=200 --start=-31556926 \
+ --width=650 --height=200 --start=-31556926 --end=-300 \
--title="${X} - Number of Active Clients" \
--vertical-label='${X}' \
DEF:a="${RRDPAGE}/${X}-clients.rrd":clients:LAST \
@@ -93,7 +93,7 @@ do
for a in offset sjit cjit wander freq disp jitter
do
${RRD_BIN}/rrdtool graph --imgformat PNG ${STATUS}/${X}/daily-ntp-${a}.png \
- --width 650 --height 200 --start -86400 \
+ --width 650 --height 200 --start -86400 --end=-300 \
--title "${X} - ${a} - Daily - `date`" \
--vertical-label "${X}" \
DEF:a="${RRDPAGE}/${X}.rrd":${a}:LAST \
@@ -103,7 +103,7 @@ do
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" > /dev/null
${RRD_BIN}/rrdtool graph --imgformat PNG ${STATUS}/${X}/weekly-ntp-${a}.png \
- --width 650 --height 200 --start -691200 \
+ --width 650 --height 200 --start -691200 --end=-300 \
--title "`TZ=UTC date`" \
--vertical-label "${X}" \
DEF:${a}=${RRDPAGE}/${X}.rrd:${a}:LAST \
@@ -114,7 +114,7 @@ do
GPRINT:n${a}:MAX:"Maximum\:%8.2lf %s\n" > /dev/null
${RRD_BIN}/rrdtool graph --imgformat PNG ${STATUS}/${X}/monthly-ntp-${a}.png \
- --width 650 --height 200 --start -2629744 \
+ --width 650 --height 200 --start -2629744 --end=-300 \
--title "`TZ=UTC date`" \
--vertical-label "${X}" \
DEF:${a}=${RRDPAGE}/${X}.rrd:${a}:LAST \
@@ -125,7 +125,7 @@ do
GPRINT:n${a}:MAX:"Maximum\:%8.2lf %s\n" > /dev/null
${RRD_BIN}/rrdtool graph --imgformat PNG ${STATUS}/${X}/yearly-ntp-${a}.png \
- --width 650 --height 200 --start -31556926 \
+ --width 650 --height 200 --start -31556926 --end=-300 \
--title "`TZ=UTC date`" \
--vertical-label "${X}" \
DEF:${a}=${RRDPAGE}/${X}.rrd:${a}:LAST \
@@ -139,7 +139,7 @@ do
done
${RRD_BIN}/rrdtool graph --imgformat=PNG ${STATUS}/all-clients.png \
- --width=296 --height=83 --start=-86400 \
+ --width=296 --height=83 --start=-86400 --end=-300 \
--title='Active Clients on All Servers' \
--vertical-label='Active Clients' \
DEF:a="/var/www/time.mattrude.com/rrd/kirby.mattrude.com-clients.rrd":clients:AVERAGE \