[collectd] collection4 nitpicking

Sebastian Harl sh at tokkee.org
Tue Jun 21 08:43:49 CEST 2011


Hi,

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.

> Secondly, why is FastCGI being used?  My life would be easier if
> collection4 was an "app server", i.e. it was a permanently-running
> daemon that spoke HTTP to the "real" web server, being a reverse proxy
> like varnish, nginx or apache mod_proxy.

I suppose, FastCGI has been used as that was (or seemed to be ;-))
easier than implementing a stand-alone "app server" talking HTTP.

Cheers,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20110621/7ad829b9/attachment.pgp>


More information about the collectd mailing list