[rrd-users] Re: help with error please

Stephan Harren sh at abovenet.de
Fri Dec 19 14:36:48 MET 2003


Try the following:

- Make sure that your output file (GIF/PNG) is formatted like this:

 c:\\inetpub\\graphs\\output.gif

- Make sure that your RRD definitions are like this:

 c\\:\\inetpub\\wwwroot\\mrtg\\rrdtool\\drmateo_e4.rrd:ds0:AVERAGE

If this doesn't work (I use this in my perl scripts), try single 
backslashes.

Best regards,

Stephan

Van den Bossche Eric wrote:

>Hi all,
>
>can someone try to find the error here (i'm not that experienced with RRD)
>
>C:\Inetpub\wwwroot>rrdtool.exe graph
>c:\inetpub\wwwroot\sher-member-01_mem_fault
>s_Daily.png -s -2000m -e now -a PNG -w 800 -h 300 --alt-y-grid --lazy -c
>MGRID#e
>e0000 -c GRID#000000
>DEF:in=c:\mrtg_workdir\sher-member-01\sher-member-01_mem_fa
>ults.rrd:ds0:AVERAGE
>DEF:out=c:\mrtg_workdir\sher-member-01\sher-member-01_mem_f
>aults.rrd:ds1:AVERAGE CDEF:pin=in,10000000000,/,100,*,1,/
>CDEF:pout=out,10000000
>000,/,100,*,1,/
>DEF:min=c:\mrtg_workdir\sher-member-01\sher-member-01_mem_faults
>.rrd:ds0:MAX
>DEF:mout=c:\mrtg_workdir\sher-member-01\sher-member-01_mem_faults.r
>rd:ds1:MAX AREA:in#005499:"Maximal Incoming Traffic"\l
>LINE1:out#e52325:"Maximal
> Outgoing Traffic"\l GPRINT:min:MAX:"Max In\: %8.3lf %s"
>GPRINT:pin:MAX:"(%3.0lf
>%%)" GPRINT:mout:MAX:"Max Out\: %8.3lf %s" GPRINT:pout:MAX:"(%3.0lf%%)"\l
>GPRINT
>:in:AVERAGE:"Avg In\: %8.3lf %s" GPRINT:pin:AVERAGE:"(%3.0lf%%)"
>GPRINT:out:AVER
>AGE:"Avg Out\: %8.3lf %s" GPRINT:pout:AVERAGE:"(%3.0lf%%)"\l
>GPRINT:in:LAST:"Cur
> In\: %8.3lf %s" GPRINT:pin:LAST:"(%3.0lf%%)" GPRINT:out:LAST:"Cur Out\:
>%8.3lf
>%s" GPRINT:pout:LAST:"(%3.0lf%%)\l"
>
>
>ERROR: can't parse DEF
>'in=c:\mrtg_workdir\sher-member-01\sher-member-01_mem_fau
>lts.rrd:ds0:AVERAGE' -2
>
>
>Greetings Eric
>
>--
>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
>
>
>  
>

-- 
Stephan Harren
Leiter Technik
AboveNet Deutschland GmbH
-------------------------
Phone +49 69 90554 153
Fax +49 69 90554 111
Cell +49 173 7011126



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