[collectd] network plugin questions

Oleg King king2 at kaluga.ru
Fri Apr 18 17:17:51 CEST 2008


Hello!

I have a question about network plugin.

1. What is cache that controlled by CacheFlush setting?

 > For each host/plugin/type combination the network plugin caches the
 > time of the last value being sent or received. Every Seconds seconds
 > the plugin searches and removes all entries that are older than
 > Seconds seconds, thus freeing the unused memory again.

OK, plugin caches time values and flushes time values, but what for
it needs/uses theese values?

2. If I reboot server with RRD database, all information from clients
will be lost until server will not up again. May be, it will be
useful to implement 3rd, TCP type of connection with acknowledges of
data reception and caching unsent info on clients side until server
will be able to receive info again?

This will prevent data loss due to server reboots, network problems
and so on.

3. As I understand, clients sends information with time of event, but
this is clients time of event. So we need to syncronise time on all
servers to get right slices of database info?
In one of my projects I calculate timediff between client and server
and use this timediff to make all times syncronised. Will it be
useful in collectd?

I will try to implement theese features anyway, because I need it, but
may be I wrong somewhere?

Thanks in advance for answers.

-- 
С уважением,
 Oleg                          mailto:king2 at kaluga.ru




More information about the collectd mailing list