Hi Witold, On Sun, Dec 12, 2010 at 09:33:32AM +0100, Witold Baryluk wrote: > I would like to make collectd buffer all statistics for example last > 60 minutes, and after filling this time update real rrd files. > [...] > I could change interval of dumping data, but this will make collectd > not very usefull.
sorry, but you lost me: First you suggest to "buffer" the data, but then you say thay changing the "interval of dumping" is not a solution. What's the difference between the two? > I think it is easy to just keep data in memory, and from time to time > (or when exiting, or asked to reload files), write it for real. It's not easy, but it's implemented and thus easy to use. Just use the following configuration to write RRD files once per hour with at most 10 files being updated per second. This should let your laptop's HDD sleep for a while and not disrupt performance too much when it does update the files: <Plugin "rrdtool"> DataDir "/var/lib/collectd/rrd" CacheFlush 360 WritesPerSecond 10 </Plugin> For more information on the features provided by the RRDtool plugin to lessen the stress on the disks, please read the "Inside the RRDtool plugin" article in the collectd wiki [0]. Regards, —octo [0] <http://collectd.org/wiki/index.php/Inside_the_RRDtool_plugin> -- Florian octo Forster Hacker in training GnuPG: 0x0C705A15 http://octo.it/
signature.asc
Description: Digital signature

