[rrd-users] Stack valuates together to a daily bar

Marc Tobien Marc at Tobien.net
Wed Jun 10 16:21:47 CEST 2009


Hi

I am monitoring a solar panel. Every minute the watts are written into a the
database. Now for better presentation I am trying to gather the data's from
every day and present the result for each day in only one bar, so I can see
for example 7 bars in one week and can se what was the best day.

I am working with php and my string is looking like this:

 

/usr/bin/rrdtool graph /var/www/temperature/solarleistung_week.png -s -1week
DEF:w1=/var/log/digitemp_rrd/solar_kw.rrd:watt:AVERAGE
LINE1:w1#48d1cc:"Solarleistung in Watt" -h300 -w500 -y1:2 --color
GRID#dddddd --color MGRID#aaaaaa.

http://152.143.90.130/temperature/solarleistung_week.png

 

How can I say to rrd to gather the data's every day to one bar?

Regards

Marc

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20090610/5f98232f/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 21299 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20090610/5f98232f/attachment-0001.png 


More information about the rrd-users mailing list