[rrd-users] Re: fetch but no graph

Adam S Treister adam at treestar.com
Tue Jul 11 21:10:55 MEST 2000



I'm just starting out with rrd, and when I attempt to copy the example
out of the tutorial I get a graph, properly scaled and labelled, but
with no data on it.  I have seen lines drawn in some of my attempts, but
in several different examples, I've seen the empty graph.

Can someone pls point out to me the error of my ways? (line breaks in
the commands are pbly a function of the email, and aren't in the
original script).  

Also is there a way to set a base time point, so that the dates in the
update commands can be more manageable numbers.  This is pbly more
useful in learning rrdtool than once a program is generating the data,
but I could see that it might be useful for other contexts (ie, plotting
data < 1970 or relative to some other epoch.)

Thanks,

Adam


./rrdtool create ~/rrd/src/test.rrd  --start 920804400
DS:speed:COUNTER:600:U:U RRA:AVERAGE:0.5:1:24 RRA:AVERAGE:0.5:6:10

./rrdtool update test.rrd 920804700:12345 920805000:12357
920805300:12363
./rrdtool update test.rrd 920805600:12363 920805900:12363
920806200:12373
./rrdtool update test.rrd 920806500:12383 920806800:12393
920807100:12399
./rrdtool update test.rrd 920807400:12405 920807700:12411
920808000:12415
./rrdtool update test.rrd 920808300:12420 920808600:12422
920808900:12423

./rrdtool fetch test.rrd AVERAGE --start 920805000 --end 920808800

./rrdtool graph speed.gif -h 500 --vertical-label Speed --start
920805000 --end 920808800 DEF:myspeed=test.rrd:speed:AVERAGE
LINE2:myspeed#FF0000

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