[rrd-developers] Re: Bugreport: rpn with vnames starting with "LE,LT,GE,...."

Alex van den Bogaerdt alex at ergens.op.het.net
Fri May 19 13:11:30 MEST 2006


On Fri, May 19, 2006 at 11:55:49AM +0200, Gerd Müller wrote:

> if using vnames starting with keywords like LE,LT,... the generation of
> the graph will not work. Instead you get a rpn error message.
> 
> I wanted to open a bug inside the ticketsystem but after submitting the
> forms it tried to use a private ip next.

Please create a small script showing the error. This makes it easier
to show the bug.

I did create one:

-----cut here-----
#!/bin/bash

function doit() {
rrdtool create test.rrd --start 1148025300 \
	DS:${NAME}:COUNTER:300:U:U \
	RRA:AVERAGE:0:1:5
rrdtool update test.rrd \
	1148025600:0 \
	1148025900:300 \
	1148026200:600 \
	1148026500:900 \
	1148026800:900 \
	1148027100:900
rrdtool graph test.png --start 1148025600 --end start+1500 \
	DEF:${NAME}=test.rrd:${NAME}:AVERAGE \
	CDEF:LEAPED=${NAME},2,* \
	LINE3:LEAPED#FF0000
}

NAME=XLEAPS doit
NAME=LEAPS doit
-----cut here-----

confirmed, "CDEF:x=LEAPS..." does not work, "CDEF:x=XLEAPS..." does.

Looking in source now.
-- 
Alex van den Bogaerdt
http://www.vandenbogaerdt.nl/rrdtool/

--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-developers
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-developers mailing list