Your message dated Thu, 4 Sep 2008 11:25:11 +0200
with message-id <[email protected]>
has caused the report #497739,
regarding rrdtool: rrdgraph no longer drops all directories given in filename
argument when imginfo string prints
to be marked as having been forwarded to the upstream software
author(s) [email protected]
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Re: Bug#497739: rrdtool: rrdgraph no longer drops all directories given in filename argument when imginfo string prints
Thu, 4 Sep 2008 11:25:11 +0200
tags 497739 + upstream
(This is a follow-up to Debian bug #497739. See  for more details.)
On Wed, Sep 03, 2008 at 03:57:54PM -0700, bardia wrote:
> I'm using rrdcgi from rrdtool to plot sensor data on my website via the
> generating rrdcgi script. The printed "IMG SRC" path is now broken b/c the
> directories in the filename path aren't being pruned. The expected behavior
> rrdgraph is mentioned in the rrdcgi man page but not in the rrdgraph man page.
> Below is an example rrd line from the rrdcgi script that i pulled out to run
> directly on the command line using two different versions of rrdtool:
> !!**command line:
> rrdtool graph /var/www/sensors/pics/castledaily-temperature.png --imginfo
> '<IMG SRC=/sensors/pics/%s WIDTH=%lu HEIGHT=%lu>' -a PNG -h 200 -w 800 --lazy
> -v 'Temperature (C)' -t 'Temperature' -x 'HOUR:1:HOUR:3:HOUR:3:0:%b %d %H:00'
> -s -1d -l 0 DEF:temp1=/var/www/sensors/data/castle.rrd:temp1:AVERAGE
> LINE2:temp1#6e980e:"Core0 Temp" LINE2:temp1_0#aff9e7:"M/B Temp"
> LINE2:temp2#8897c8:"CPU Temp" LINE2:loadavg#7cfcce:"Load Average"
> !!** _GOOD_ output (rrdtool version 1.2.27-2):
> <IMG SRC=/sensors/pics/castledaily-temperature.png WIDTH=897 HEIGHT=279>
> !!** _BAD_ output (rrdtool version 1.3.1-3):
> <IMG SRC=/sensors/pics//var/www/sensors/pics/castledaily-temperature.png
> WIDTH=897 HEIGHT=274>
> There are easy ways to workaround this problem aside from reverting to ver
> e.g., string replacement, so i'm too lazy to look at the sources and submit a
> patch, sorry.
I'm not sure about the behavior intended by upstream and the motivation
for changing it from 1.2 to 1.3. With this message, I've forwarded the
bug the upstream developers mailing list, hoping for a comment.
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/
Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin
--- End Message ---