[rrd-users] Weekgraphs shows only one day.

HW hw at geitz.net
Fri Oct 11 09:24:12 MEST 2002


Hi,

On my website http://www.geitz.net/weather/ I try to make dayly and 
weekly graphs from my weather station.
The day graphs are ok, but the weekgraphs only show the last day in the 
graph.
What is wrong? here is how I made it. (seen on 
http://mywebpages.comcast.net/kaiminaouow/Using_Oww_and_RRDTOOL.html)


init rrdtool (one year of data will be stored)
rrdtool create /root/oww2.rrd -b -867000 --step 300 
DS:temp1:GAUGE:600:-15:45 DS:temp2:GAUGE:600:-15:45 
DS:temp3:GAUGE:600:-15:45 DS:wspd:GAUGE:600:0:140 
DS:wdir:GAUGE:600:0:360 DS:baro:GAUGE:600:910:1050 RRA:AVERAGE:0.5:1:288 
RRA:MIN:0.5:288:86400 RRA:MAX:0.5:288:86400

update every 20 sec:
/usr/bin/rrdtool update /usr/local/share/oww/oww.rrd 
N:$tc1$:$tc2$:$tc3$:$wspkph$:$wdrdeg$:$barmbar1$

dayly graph:
#de temp plaatjes
/usr/bin/rrdtool graph /var/www/docs/weather/temp1.png -s -86400 -h 150 
-w 300 -t"Temp sensor 1 C" 
\DEF:temp1=/usr/local/share/oww/oww.rrd:temp1:AVERAGE 
LINE2:temp1#FF0000:"Temp1" 2>&1 >/dev/null

weekly graph:
#de wind snelheid week
/usr/bin/rrdtool graph /var/www/docs/weather/wspdweek.png -s -604800 -h 
150 -w 300 -t "Windspeed last 7 days" 
\DEF:wspd=/usr/local/share/oww/oww.rrd:wspd:AVERAGE 
LINE2:wspd#11ff00:"speed in kmph"2>&1 > /dev/null


Can anyone help me out?

Many thanks in advance

Hans-Wilem



--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list