[rrd-users] Trouble with full path in graph cmd w32

Tobias Oetiker tobi at oetiker.ch
Thu Apr 9 17:14:14 CEST 2009


Tony,

note that : is a separator character, you have to escape it and write

c\:\\rrdtool...\\Work\\bla.rrd

cheers
tobi




Yesterday Tony Krsulic wrote:

> The below two graph commands are in a batch file running in the same dir
> as the .rrd file.
>
> The first command below with full (correct) path to the rrd file pops a
> Cannot Parse error
> The second command is exactly the same except it doesn't have the full
> path to the rrd file
>
> I tried putting quotes around
> "C:\rrdtool-1.2.30-bin-w32\rrdtool\Work\CAP00003.rrd"
> But still no joy. What syntax am I missing to provide full paths to the
> graph command?
>
> Feel like I'm missing something simple.
>
> -------------------------
> C:\rrdtool-1.2.30-bin-w32\rrdtool\Work>C:\rrdtool-1.2.30-bin-w32\rrdtool
> \rrdtool
>  graph CAP00003.png  -w 1024 -h 300  -v "902 Dialer" -t "Available
> Agents"  --st
> art 1239215500 -A -Y -L 2
> DEF:CAP00003=C:\rrdtool-1.2.30-bin-w32\rrdtool\Work\C
> AP00003.rrd:CAP00003:AVERAGE CDEF:aph=CAP00003,1800,TREND
> AREA:CAP00003#000099:"
> CAP00003" LINE2:aph#FF0000:"Trend"
> ERROR: Cannot parse DS in
> 'DEF:CAP00003=C:\rrdtool-1.2.30-bin-w32\rrdtool\Work\C
> AP00003.rrd:CAP00003:AVERAGE'
>
> C:\rrdtool-1.2.30-bin-w32\rrdtool\Work>pause
> Press any key to continue . . .
>
> C:\rrdtool-1.2.30-bin-w32\rrdtool\Work>C:\rrdtool-1.2.30-bin-w32\rrdtool
> \rrdtool
>  graph CAP00003.png  -w 1024 -h 300  -v "902 Dialer" -t "Available
> Agents"  --st
> art 1239215500 -A -Y -L 2  DEF:CAP00003=CAP00003.rrd:CAP00003:AVERAGE
> CDEF:aph=C
> AP00003,1800,TREND AREA:CAP00003#000099:"CAP00003"
> LINE2:aph#FF0000:"Trend"
>
> 1115x379
>
> C:\rrdtool-1.2.30-bin-w32\rrdtool\Work>pause
> Press any key to continue . . .
> ---------------------------------
>
>
> Thanks for any assistance :)
>
> Tony!
>
> **CONFIDENTIAL NOTICE**
> This e-mail and any files transmitted with it may contain PRIVILEGED or CONFIDENTIAL information and may be read or used only by the intended recipient.  If you are not the intended recipient of the e-mail or any of  its attachments, please be advised that you have received this e-mail in error and that any use, dissemination, distribution, forwarding, printing, or copying of this e-mail or any attached files is strictly prohibited.  If you have received this e-mail in error, please immediately purge it and all attachments and notify the sender by reply e-mail.
>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900



More information about the rrd-users mailing list