[rrd-users] rrdtool Graphing!!

Siva.Namburi at nokia.com Siva.Namburi at nokia.com
Fri Jan 21 19:01:21 MET 2000


Hi 

I have a question on the rrdtool graphing part.
I am creating my database with the following parameters. 

creating database:
rrdtool create $filename.rrd --start $starttime DS:delay:GAUGE:600:10:1000
RRA:AVERAGE:0.5:1:24 RRA:MIN:0.5:6:48 RRA:MAX:0.5:24:144

updating database:
rrdtool update $filename.rrd $time:$delay

I update the data base every 10 seconds with a new value.

graphing the database:
rrdtool graph $filename.gif --start $starttime --end $time
DEF:mydelay=$filename.rrd:delay:AVERAGE LINE2:mydelay#FF0000

The variable $starttime is the timestamp i got when i 
got my first data point. Initially on the x-axis the time unit/division was
10 minutes. Now since i have already accumulated data points from two days
the graph automatically scaled itself such that every unit
on x-axis is two hours, so i see more data points in
a small region. 

1. Is there any way to tell rrdtool such that you want
to plot a weekly graph each unit being a day on x-axis
and a monthly graph each unit on x-axis being a week
with the already collected points. 
2. Is there a way to show the RRA:min and RRA:max values on the graph.

thank you
siva

--
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



More information about the rrd-users mailing list