src/rrd_fetch.c: Use "rrdc_fetch" if daemon is available. ff/rrdc_fetch-fetch
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Tue, 24 Mar 2009 14:23:32 +0000 (15:23 +0100)
committerFlorian Forster <octo@noris.net>
Wed, 24 Feb 2010 16:57:55 +0000 (17:57 +0100)
commit50a6119addd0a1dc48e780c6894e1db79ff26dd3
treec9d2a26e2ee0f56998c3c7a1f74a74e61e27a3b3
parent5098867bebb81ae400406fe750c2c7a536538ac7
src/rrd_fetch.c: Use "rrdc_fetch" if daemon is available.

Instead of flushing the file via the connection to the daemon and then
accessing it directly, use the "FETCH" command to access the file via
the RRDCacheD. This removes ambiguities with absolute and relative paths
and makes it possible to read data from files that are not available
locally.
src/rrd_fetch.c