[rrd-users] generating graph ==> Error

colas nicolas.delmas at sncf.fr
Mon May 18 14:41:20 CEST 2009

I get the following error when I generate a graph using the RRDs graph.

problem generating the graph: 'SCALAR' is not a valid function name.

Before i use function create and update whitout error.
It's not a complicated code because i juste begin with this language.

RRDs::create ($rrd, "--start", $start_time, "--step", 600,

my $start = time() - 7200;
my $end = time();

RRDs::graph ("tata1.png", \
			"--end=$end",	\
			"--start=$start",	\
			"--a=PNG",	\
			"--w=100",	\
			"--h=250",	\
			"--base=1024",	\
			"--color=CANVAS#000000",	\
			"--color=BACK#101010",	\
			"--color=FONT#ffffdf", 	\
			"--color=MGRID#337fbf", 	\ 
			"--color=GRID#615900", 	\
			"--color=FRAME#808080",	\
			"--color=ARROW#FF0099",	\
			"--title=test", \
			"'DEF:probe1=tata1.rrd:up:AVERAGE",	\

Thank you for your help, 
View this message in context: http://n2.nabble.com/generating-graph-%3D%3D%3E-Error-tp2932667p2932667.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.

More information about the rrd-users mailing list