[rrd-users] Re: One more problem..

Kyrre Baker kyrre+lists at dvdkb.net
Mon Aug 6 03:11:46 MEST 2001


> No more MRTG, just the script and the rrdupdate command.

Hmm. There`s something i realy can`t get right here. Here`s the "testing" I
have done (some right from the manual).

First i create the *.rrd like this:

	rrdtool create all.rrd -s 300 \
		DS:a:GAUGE:600:-100:100 \
		RRA:AVERAGE:0.5:1:200 \
		RRA:MIN:0.5:12:200 \
		RRA:MAX:0.5:12:200 \
		RRA:AVERAGE:0.5:12:200

Then i am trying to populate the database with lines like this:

	rrdtool update all.rrd N:10
	rrdtool update all.rrd N:20
	rrdtool update all.rrd N:30
	rrdtool update all.rrd N:40
	rrdtool update all.rrd N:50
	rrdtool update all.rrd N:40
	rrdtool update all.rrd N:30
	rrdtool update all.rrd N:20
	rrdtool update all.rrd N:10
	rrdtool update all.rrd N:0
	rrdtool update all.rrd N:-10
	rrdtool update all.rrd N:-20
	rrdtool update all.rrd N:-30
	rrdtool update all.rrd N:-40
	rrdtool update all.rrd N:-50

This would give me some negative values to (right?). But! When i try to
create an graph (*.gif) from this data, it seems like there`s no data in the
rrd. Also: when i try to do an "rrdtool fetch all.rrd AVERAGE" i just get
lines like this:

	996973200:  NaN
	996976800:  NaN
	996980400:  NaN
	996984000:  NaN
	and so on...

I can`t se where i`m doing the wront turn here.. :(


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