[drraw-users] DrRaw generating paths with double "/"

Christophe Kalt kalt at taranis.org
Wed Mar 24 09:15:26 MDT 2010


The double slashes are used as separators in the templating code, nothing
wrong about them.  It should be a simple matter to strip them before calls
to rrdcache if they're causing problems with it.

On Tue, Mar 23, 2010 at 09:22, <eric.buckhalt at oit.gatech.edu> wrote:

> I think I may have discovered a bug.  I'm working on resolving it, but if
> anybody knows right where to go I'd appreciate the help.
>
> We have a pretty large deployment and utilize the RRDCACHED features of
> rrodtool 1.4.  When drraw.cgi is rrdcached aware things are not getting
> flushed from the rrd queue as expected.
>
> The doubles slashes work fine directly accessing the filesystem, but when
> going through rrdcache it doesn't work right.  Because rrdcache has the file
> in its queue with a single slash, it fails to flush it when called with the
> double slash. This causes our graphs to be behind.  If rrdcache could find
> the entry it would flush all the data for that file to disk before rendering
> the graph and provide a current graph.
>
> It seems like drraw generates double slashes between the datadir and the
> rrd file.  I've also noticed a proliferation of double slashes (%2F%2F)
> throughout the graph and template definitions.  Does anybody know what
> portion(s) of code causes this?
>
> example:
> datadir in drraw.conf:
> %datadirs = ('/srv/stats_receiver/rrd_files'  => 'Prototype Repository',
>            );
> generated file name: /srv/stats_receiver/rrd_files//
> server.gatech.edu/nac/leasesused-vlan1296.rrd
>
> --
> Eric Buckhalt
> eric.buckhalt at oit.gatech.edu
> 404 385 0545
> Georgia Tech OIT/A&I
>
> _______________________________________________
> drraw-users mailing list
> drraw-users at box557.bluehost.com
> http://box557.bluehost.com/mailman/listinfo/drraw-users_lists.taranis.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://box557.bluehost.com/pipermail/drraw-users_lists.taranis.org/attachments/20100324/74d4079a/attachment.html>


More information about the drraw-users mailing list