[rrd-users] Newbie help with rrdtool

Simone Caruso info at simonecaruso.com
Sat Sep 17 23:53:32 CEST 2011

Hi all,
i admit to be in trouble with rrdtool.

I have a database of apache aggregated request logs with timestamps and bytes
summarized in blocks of 300secs (to minimize IO on the datase), es:
10.00am: 300 bytes
10.05am: 250 bytes
10.10am: 350 bytes

What I need is to track bytes/hour and total bytes per month/week... but i cant
find a way to do this.

For testing I tried something like this:

# rrdtool create test.rrd  --start 920808200  DS:bytes:ABSOLUTE:300:U:U

# rrdtool update test.rrd  920808600:130 920808900:115 920809200:150 920809500:170

# rrdtool graph speed.png      --start 920808300 --end 920809800
DEF:cbytes=test.rrd:bytes:AVERAGE  LINE1:cbytes#FF0000

But without expected results,
do someone have some idea/suggestion or an ready to use example?

Thank you

More information about the rrd-users mailing list