install collectd, plus minor changes