This commit is contained in:
foo 2014-02-01 13:19:34 +00:00
parent c4479f2a16
commit 1e24a968a8

11
plot.sh Normal file
View File

@ -0,0 +1,11 @@
DATAPATH=/var/lib/munin/localdomain
OUTPATH=~/public_html
rrdtool graph $OUTPATH/river-canterbury.png \
--end now --start end-3w \
--height 400 --width 1200 \
DEF:r17_1135=$DATAPATH/localhost.localdomain-river_levels_17-river_level_1135-g.rrd:42:AVERAGE \
DEF:r17_1143=$DATAPATH/localhost.localdomain-river_levels_17-river_level_1143-g.rrd:42:AVERAGE \
LINE1:r17_1135#0000FF:"Stour at Chartham (1135)\l" \
LINE1:r17_1143#00FF00:"Stour at Vauxhall Bridge (1143)\l" \
HRULE:0.8#000000