[rrd-users] Re: Graph: parse DEF problem

Stephan Harren sh at abovenet.de
Wed Feb 5 10:42:17 MET 2003


If you use it in a script, escape the ":" in the way you should do.
Another (preferred) way is to put the path into a variable (which you anyway 
should do to save a lot of typing when writing/changing your script). I think 
this will do.

Best regards,

Stephan

Am Mittwoch, 5. Februar 2003 10:10 schrieb Henriette.Harmse at za.didata.com:
> Hi All,
>
> I appologise in advance if this is an issue that has been answered before.
> I am using RRD on windows and get a
>
> "ERROR: can't parse DEF 'Elapsed_2=E:\Logging\data\users\ADMINISTRATOR.rrd'
> -2
>
> rrdtool graph E:\Logging\data\users\images\ADMINISTRATOR0.png -s 1041867313
> -e 1041867373 -w 600 -a PNG -l 0 -t ADMINISTRATOR
> DEF:Elapsed_2=E:\Logging\data\users\ADMINISTRATOR.rrd:Elapsed_2:AVERAGE
> DEF:Elapsed_1=E:\Logging\data\users\ADMINISTRATOR.rrd:Elapsed_1:AVERAGE
> LINE1:Elapsed_2#FF0000:Elapsed: SAG/INFO/ETBCIS
> LINE1:Elapsed_1#00FF00:Elapsed: ACLASS/ASERVER/ASERVICE
>
> I am sure that the ":" in the path is the problem becuase when I use
> DEF:Elapsed_2=ADMINISTRATOR.rrd:Elapsed_2:AVERAGE for instance it works
> fine - however for my app I need to use absolute paths.  Does any one know
> how I can get around this problem?
>
> Thanks in advance
> Henriette
>
>
> This message contains information intended solely for the addressee, which
> is confidential or private in nature and subject to legal privilege. If you
> are not the intended recipient, you may not peruse, use, disseminate,
> distribute or copy this message or any file attached to this message. Any
> such unauthorised use, is prohibited and may be unlawful. If you have
> received this message in error, please notify the sender immediately by
> e-mail, facsimile or telephone and thereafter delete the original message
> from your machine.
>
> Furthermore, the information contained in this message, and any attachments
> thereto, is for information purposes only and may contain the personal
> views and opinions of the author, which are not necessarily the views and
> opinions of Dimension Data (South Africa) (Proprietary) Limited or its
> subsidiaries and associated companies ("Dimension Data"). Dimension Data
> therefore does not accept liability for any claims, loss or damages of
> whatsoever nature, arising as a result of the reliance on such information
> by anyone.
>
> Whilst all reasonable steps are taken to ensure the accuracy and integrity
> of information transmitted electronically and to preserve the
> confidentiality thereof, Dimension Data accepts no liability or
> responsibility whatsoever if information or data is, for whatsoever reason,
> incorrect, corrupted or does not reach its intended destination.

-- 
Stephan Harren
Manager Site Operations
MFN-IS
-------------------------------
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