[rrd-users] Re: duplicate variable error message

Alex van den Bogaerdt alex at ergens.op.het.net
Thu Jan 29 11:04:00 MET 2004


On Thu, Jan 29, 2004 at 10:57:00AM +0100, Håkan Lindholm wrote:

> larrd-grapher.cgi: duplicate variable 'qrate' at /app/apache/cgi-bin/larrd-grapher.cgi line 1503.
> 
> Line 1503 is simply "die $RRDerr if $RRDerr;"
> 
> >From rrdtool-1.0.41/src/rrd_xport.c:
> 
> 	    /* checking for duplicate DEF CDEFS */
> 	    if(find_var(&im,im.gdes[im.gdes_c-1].vname) != -1){
> 		im_free(&im);
> 		rrd_set_error("duplicate variable '%s'",
> 			      im.gdes[im.gdes_c-1].vname);
> 		return -1; 
> 	    }	   
> 
> 
> 
> What I's searching for is some example rrdtool command line that would trigger this.

take any RRDtool grapher script, duplicate the first line with
"DEF" in it et voila, you're on.

HTH
Alex
-- 
begin  sig
http://www.googlism.com/index.htm?ism=alex+van+den+bogaerdt&type=1
This message was produced without any <iframe tags

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