Hi Yann, Today Yann Jouanin wrote:
> 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, can you elaborate how you would handle relative path names on the server side ? cheers tobi -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch t...@oetiker.ch ++41 62 775 9902 / sb: -9900 _______________________________________________ rrd-developers mailing list rrd-developers@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers