epcim of DevOps
7/4/2017 - 11:32 AM

collectd

collectd

apt install -y collectd-utils

cat <<-EOF  | tee -a /etc/collectd/collectd.conf

LoadPlugin unixsock
<Plugin unixsock>
        SocketFile "/var/run/collectd-unixsock"
        SocketGroup "collectd"
        SocketPerms "0660"
        DeleteSocket false
</Plugin>
EOF

service collectd restart

collectdctl
collectdctl listval |grep df