[rrd-developers] [PATCH] rrd_client: Do not rewrite path names when accessing remote daemons.
tobi at oetiker.ch
Wed Oct 7 19:23:42 CEST 2009
Today kevin brintnall wrote:
> On Wed, Oct 07, 2009 at 11:36:42AM +0200, Florian Forster wrote:
> > On Sun, Oct 04, 2009 at 01:14:24PM +0200, Tobias Oetiker wrote:
> > > I think the current implementation where only relative paths are
> > > allowed for remote access is fine, since this provides a measure of
> > > protection when people are transitioning from local to remote rrdtool.
> > > They may be trying to use the absolute path names they have been used
> > > to access when working locally and will be alerted to the problem.
> > I have to admit this sounds like some magic for me. Imagine some
> > sysadmin who uses the UNIX socket and is fine with it. Then, for
> > whatever reason, he switches to the network socket (requirements do
> > change). Now suddenly some RRD files are not updated anymore for some
> > reason and he has to figure our how to make it all work again.
> +1 for POLA violation.
> Since Tobi is planning on introducing a "URL" like syntax for 1.5, I see
> no reason to change the existing behavior. rrdcached currently works as a
> drop-in replacement; I see no reason to change the existing behavior.
as kevin says ... and btw that enterprising sysadmin will get an
error message telling him about the errors of his ways ... if
mailinglist traffic shows that it is a problem we can even make it
more elaborate ...
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
More information about the rrd-developers