[drraw-users] DrRaw generating paths with double "/"
eric.buckhalt at oit.gatech.edu
eric.buckhalt at oit.gatech.edu
Tue Mar 23 07:22:43 MDT 2010
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
More information about the drraw-users
mailing list