aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/do-build-graphs
diff options
context:
space:
mode:
authorMatt Rude <[email protected]>2011-06-05 21:41:26 -0500
committerMatt Rude <[email protected]>2011-06-05 21:41:26 -0500
commit015c6fa0cd03fccfb6403c4a1044b9d1b40da8e0 (patch)
tree8a9f84c99923211bb2dcd1337989700b40b6d52f /scripts/do-build-graphs
parentce10b3ecd979c01d39e6931cfa4602abba4c9c76 (diff)
downloadtime.mattrude.com-015c6fa0cd03fccfb6403c4a1044b9d1b40da8e0.tar.gz
time.mattrude.com-015c6fa0cd03fccfb6403c4a1044b9d1b40da8e0.tar.bz2
time.mattrude.com-015c6fa0cd03fccfb6403c4a1044b9d1b40da8e0.zip
more small updates
Diffstat (limited to 'scripts/do-build-graphs')
-rwxr-xr-xscripts/do-build-graphs23
1 files changed, 23 insertions, 0 deletions
diff --git a/scripts/do-build-graphs b/scripts/do-build-graphs
index 5ac970d..d88ccb3 100755
--- a/scripts/do-build-graphs
+++ b/scripts/do-build-graphs
@@ -53,8 +53,31 @@ GPRINT:a:LAST:"Now\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Avg\:%8.2lf %s" \
GPRINT:a:MAX:"Max\:%8.2lf %s\n" \
+${RRD_BIN}/rrdtool graph \
+ --imgformat=PNG ${GRAPHS}/samantha-clients.png \
+--start=-86400 --end=-300 \
+--title='Samantha - 174.143.173.49' \
+--rigid \
+--height=100 \
+--width=290 \
+--alt-autoscale-max \
+--lower-limit=0 \
+--vertical-label='Active Clients' \
+--slope-mode \
+--font TITLE:12: \
+--font AXIS:8: \
+--font LEGEND:8: \
+--font UNIT:8: \
+DEF:a="/var/www/time.mattrude.com/rrd/samantha-client.rrd":clients:AVERAGE \
+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
+/usr/bin/optipng ${GRAPHS}/samantha-clients.png
#end