[rrd-users] Re: Drraw on iis

Dulac, Daniel (Dan) ddulac at aprisma.com
Wed Nov 19 15:08:19 MET 2003


Hi Manu,

I ran into the same problem.  I am currently using an old version (0.4a) and
added the following (see #) to line 2193:

sub DSNew
{
    croak 'DSNew(file, DSname, CFname)' if ( scalar(@_) != 3);

    my ( $rrdfile, $DSname, $CFname ) = ( @_ );
#   $rrdfile =~ s/\:\//\\\:\// if ($rrdfile =~ /^[a-z]\:\//i); 
 
For example, the line above will replace "C:/" with "C\:/".

Hope this helps.

-D


-----Original Message-----
From: Manuel Eidenberger
To: rrd-users at list.ee.ethz.ch
Sent: 11/19/03 7:54 AM
Subject: [rrd-users] Drraw on iis


Hello all,

I have a little problem with draw, runnibg on iis 6.0. Perl is
installed,
mrtg works fine, also rrdtool. I have setup drraw, witch is finding my
rrd
files. But when I try to create a graph, I got this error:

can't parse DEF 'a=d:/monitor/cpu//paris_cpu.rrd:ds0:AVERAGE' -2

And this generated script:

rrdtool graph - \
 --start=end-86400 \
 --imgformat=PNG \
 --width=500 \
 --title=test \
 --height=120 \
 --base=1000 \
 --interlaced \
 --overlay=d:/monitor/tmp/drraw.gd \
 DEF:a=d:/monitor/cpu//paris_cpu.rrd:ds0:AVERAGE \
 DEF:b=d:/monitor/cpu//paris_cpu.rrd:ds1:AVERAGE \
 LINE1:a#00FFFF:ds0 AVERAGE \
 LINE1:b#0000FF:ds1 AVERAGE

First reflexion, This error is normal, according this double slash
"cpu//paris..." but I can't figure out how to configure drraw in order
to
remove this double slash.

Can anybody help me... ?

Regards, Manu

 

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