[collectd] quick reload
Mariusz Gronczewski
xani666 at gmail.com
Wed May 6 01:39:29 CEST 2009
Hello :)
I have two ideas, first:
1) Run first collectd with only rrdtool and network plugin activated,
and set it as "server"
2) Run second one with plugins u need + set up network plugin which
sends data to first collect
second:
Keep ur RRD files in RAM (like in /dev/shm), and dump it to disk
periodically. I used that setup on router with flash drive (slow flash
drive), worked quite well
Regards,
Mariusz
2009/5/5 Andrés J. Díaz <ajdiaz at connectical.com>:
> Hi!
>
> As fas as I known, there is no way to reload configuration without
> restart the daemon, but I think you can use rrdcached instead of
> rrdtool plugin (http://collectd.org/wiki/index.php/Plugin:RRDCacheD).
> Unfortunately rrdcached is not available in latest rrdtool stable
> tarball, you need to compile rrdtool from subversion branch. With
> rrdcached you do not need to flush the data to disk when restart the
> collectd daemon (rrdcached keep data in memory and flush when needed).
>
> I use collectd with rrdcached from few months with good results, but I
> have only ~20 rrds per host.
>
> I hope to help you.
>
> Regards,
> Andres
>
> 2009/5/5 János Prepuk <prepuk.janos at gmail.com>:
>> Hi All,
>>
>> I have begun to test the collectd. I collect datas from ~100 devices with a
>> lot of interfaces. Query interval is 300 sec. I use only rrdtool plugin.
>> CacheTimeout is 1800 sec because of the IO problems.
>> It works perfectly but there is a problem what I can't solve.
>> If I add a new device to the config I have to restart the daemon. The
>> restarting keeps about 6-7 minutes because of the flush, but while it takes
>> the collection is paused. So the graph is always incomplete.
>>
>> Is there any solution for this problem? Could I load the config without
>> restart?
>>
>> Thank you in advance.
>>
>> Regards,
>>
>> Janos Prepuk
>>
>>
>> _______________________________________________
>> collectd mailing list
>> collectd at verplant.org
>> http://mailman.verplant.org/listinfo/collectd
>>
>>
>
> _______________________________________________
> collectd mailing list
> collectd at verplant.org
> http://mailman.verplant.org/listinfo/collectd
>
More information about the collectd
mailing list