[rrd-users] Re: Can't use folder name in DEF statement?
Tobias Oetiker
oetiker at ee.ethz.ch
Tue Oct 9 23:37:57 MEST 2001
Today Schroeder, Dennis wrote:
> I have divided up my files as follows:
>
> /perl = .pl files
> /rrd = .rrd files
>
> I have placed the following line in my .pl file:
>
> my $rrddir="d:/rrd";
> my $rrd="$rrddir/test.rrd";
>
> When I execute the RRDTool Graph function with:
>
> DEF:a=$rrd:time:AVERAGE...
>
> I get the following error:
>
> ERROR: can't parse DEF 'a=d:/rrd/test.rrd:time:AVERAGE' -2
try
'DEF:a=d\:\\rrd\\test.rrd:time:AVERAGE'
not the single quote !
cheers
tobi
> Can I use a directory in the DEF command, or will I have to do this some
> other way?
>
> Thanks!
>
> -----------------------------------------------------------------
> Dennis Schroeder || ||
> Network Engineer || ||
> SANMINA Global Network Services |||| ||||
> Phone: 602-824-8431 ..:||||||:..:||||||:..
> Mobile: 602-432-3258 Cisco Certified
> Email: dennis.schroeder at sanmina.com Network Associate
> -----------------------------------------------------------------
> Experience is what you get when you don't get what you want.
> -----------------------------------------------------------------
>
>
> --
> 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
>
>
--
______ __ _
/_ __/_ / / (_) Oetiker, ETZ J97, ETH, 8092 Zurich, Switzerland
/ // _ \/ _ \/ / phoneto:+41(0)1-632-5286 faxto:+41(0)1-632-1517
/_/ \.__/_.__/_/ mailto:oetiker at ee.ethz.ch http://people.ee.ethz.ch/~oetiker
--
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