Created attachment 268263 [details, diff] Patch providing suggested improvements Some improvement suggestions for collectd ebuild and init script: - let collectd run as a non-root user by default - move pidfile and unixsock socket into /var/run/collectd/ - add perl use-flag to enable/disable perl bindings (and dependency on perl) - add static-libs useflags to control generation of libcollectdclient.a but always delete plugin .a files - patch for bind plugin to parse timestamp of statistics according to UTC as sent by bind - can be applied for Linux but apparently non-linux systems are missing timegm() ... [should get properly fixed upsteam] Note: from the patch the line: use collectd_plugins_ping && setcap cap_net_raw+ep ${D}/usr/sbin/collectd can probably not be applied to tree until there is proper support for handling file-based capabilities, but that's what I do on my side to run with ping plugin.
All added except the timestamp patch, please push that upstream. Thanks!