[rrd-users] Trying to create basic gauge database

Richard Burton richard at atomwide.com
Wed Mar 9 21:48:42 MET 2005


Hi there

I am trying to create a gauge rrd database using a perl script. However
I cannot seem to get any data into my database. In essence I am running
this :-

RRDs::create "$rdpath",
			"--step", "300",
			"DS:bpsin:GAUGE:2:0:1073741824",
			"RRA:AVERAGE:0.5:1:9600",
			"RRA:MIN:0.5:12:9600",
			"RRA:MAX:0.5:12:9600",
			"RRA:LAST:0.5:1:9600",

and then updating using :-

RRDs::update "$rdpath N:$value",

once every 5 minutes.

However when I do a dump of the data its full of NaNs and the PDP is

<last_ds> UNKN </last_ds>
<value> 0.0000000000e+000 </value>

Could anyone point me in the right direction as I cannot see what I am
doing wrong?

Kind Regards
 
Richard Burton
 


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