[rrd-developers] RRDCacheD - Client rewriting path
Yann Jouanin
yann.jouanin.list at intelunix.fr
Sat Aug 8 12:22:26 CEST 2009
Hello list,
It seems the behavior of RRD client when using RRDCacheD can make trouble
when using RRDCacheD on another host than the one where using client.
The translation between relative path and absolute path is done in client
code (rrdc_flush) while it should only be done by the server.
This causes update to fail because the path is badly rewritten.
I had to comment the following line to fix this.
int rrdc_flush (const char *filename) /* {{{ */
{
.........
/* change to absolute path for rrdcached */
/* if (*filename != '/' && realpath(filename, file_path) != NULL)
filename = file_path; */
............
Yann Jouanin
http://www.yannj.fr
More information about the rrd-developers
mailing list