[rrd-users] no data in rrd

Thorsten Kugler kugler.t at ikarus.at
Fri Aug 23 10:09:02 MEST 2002


Hi!
I have a problem with the RRd-tool: I create a DB with the following command
(want to update it only once per day):
$RRD_create = "/usr/local/rrdtool-1.0.33/bin/rrdtool create
/usr/local/httpd/htdocs/thorsten/rrd/virus.rrd ";
$RRD_create.= "--start 1015440000 -s 86400 ";
foreach $x (@name_strings) {
	$RRD_erzeugen.= "DS:";
	$RRD_erzeugen.= "$x";
	$RRD_erzeugen.= ":GAUGE:86400:U:U ";
};
$RRD_create.= "RRA:AVERAGE:0.5:1:3000 RRA:MAX:0.5:1:1000";

That works! Now I want to write all data from a mysql-DB (I know that is not
the proper sense of RRD) into the RRD with distance 1 day (in timestamp)
with the following command:
(for each mysql_data do)
{
"/usr/local/rrdtool-1.0.33/bin/rrdtool update
/usr/local/httpd/htdocs/thorsten/rrd/virus.rrd
$timestamp:2:3:4:5:6:7:8:9:0:1";
$timestamp+86400; #add 1 day
}

There's no error on execution, but if I want to get the data by the
fetch-command, theres no data in the RRD!
Whats wrong and who can help me?

Thank you!
Thorsten Kugler

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