[rrd-users] daily MIN and MAX line from 0-24h

Mark funpic at abwesend.de
Sun Jun 19 19:12:03 CEST 2011


Hi,

I'd like to have a rdd with a temperature data every 5 minutes for every day
and a MIN and MAX value per day. I create my rdd using:

  rrdtool create temperature.rrd             \
            --start <0:00 of the day my data starts>          \
            DS:temp:GAUGE:600:U:U   \
            RRA:AVERAGE:0.5:1:1000       \
            RRA:MIN:0.5:288:1000 \
            RRA:MAX:0.5:288:1000

Using "rddtool update" i add my data for every day, every 5 minutes. Then i
use graph to get an image. 

 rrdtool graph temp.png                                 \
         --start <some days of data>               \
         DEF:temp=temperature.rrd:temp:AVERAGE              \
         DEF:tempmin=temperature.rrd:temp:MIN             \
         DEF:tempmax=temperature.rrd:temp:MAX              \
         LINE:temp#FF0000 \
         LINE:tempmin#FF0000 \
         LINE:tempmax#FF0000

Now my question is: in this graph everything is fine except my MIN and MAX
line per day starts and ends at 2 o'clock, giving me the min and max
temperature between these times. How do i get min and max lines from 0:00 to
0:00?

Thanks a lot for your help,

greetings
Mark




--
View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/daily-MIN-and-MAX-line-from-0-24h-tp6493408p6493408.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.



More information about the rrd-users mailing list