[collectd] collection4 nitpicking

Trent W. Buck twb-mailman-collectd at cyber.com.au
Tue Jun 21 10:59:25 CEST 2011


Sebastian Harl wrote:
> On Tue, Jun 21, 2011 at 12:13:06PM +1000, Trent W. Buck wrote:
>> I notice that /etc/collection.conf starts with CacheFile
>> "/tmp/collection4.json", which immediately sets off my spidey
>> security senses[0].  Would it be better to a different default,
>> such as /var/cache/collection/collection.json?
>
> Full ack! Imho, /var/cache/collection4 (or possibly
> /var/run/collection4) would be an appropriate place for that file.

On a fancy-pants new system the latter would be a tmpfs /run, which
I'm not sure is an improvement.  My vote is for the former.



More information about the collectd mailing list