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:[EMAIL PROTECTED] 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:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
