[rrd-users] Re: the latest - RRDs:: and directory name

Warnes, Jason SDH warnesj at SDH.SK.CA
Wed Jul 3 16:12:41 MEST 2002


The problem is that you need a leading \ before the : in your def on
Windows.  RRD Tool uses the : as a field separator when parsing DEFs.  I
usually have a \ before the hash marks too, just to be safe.  Try this out:

"DEF:my1=d\:\\rrd\\10.3.0.101\#ifio\#if1.rdd:ds0:AVERAGE"

Jason...

-----Original Message-----
From: gOdot [mailto:godot at skynet.be] 
Sent: July 2, 2002 2:43 PM
To: RRD users
Subject: [rrd-users] the latest - RRDs:: and directory name




Here is my latest question (I hope) [thanks to alex]

it is about the line (running with activestate Perl on win2k)

<RRDs::graph ... ... ...>

"DEF:my2=my.rrd:ds1:AVERAGE", #  now, this is working fine :)

<... ...>


My .rrd is
- not in the directory the script is running
- has a name which contains # and . (like    10.3.0.101#ifio#if1.rrd   )

The win system path is not used by perl,
and RRDs says : can't parse DEF
'my1=d:/rrd/10.3.0.101#ifio#if1.rdd:ds0:AVERAGE' -2 when I try :

 "DEF:my1=d:\\rrd\\10.3.0.101#ifio#if1.rdd:ds0:AVERAGE",
or
 "DEF:my1=$x:ds0:AVERAGE",

where $x is recognized by -e $file and contains the path/filename.




Regards,

C.GAUDER


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

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