How to install CollectD on Debian / Ubuntu

April 4, 2015 No Comments collectd

install collectd on debian and ubuntu
CollectD is one of the best daemons for collecting system metrics periodically.
Today we will focus on installing and running CollectD on Debian Linux the easy way.

Install CollectD

Since we will compile CollectD from source, we need a compiler:

Next we download, compile and install CollectD 5.5.0:

By default you will find:

  • The configuration file at /opt/collectd/etc/collectd.conf
  • The collectd binary at /opt/collectd/sbin/collectd

Start CollectD on startup

An easier way to manage CollectD on Debian is using an init script.

CollectD will now run at startup, but you can still manage it manually:

Send Metrics to Database

CollectD is pretty useless by itself. You need to send its metrics frequently to a database for monitoring:

System and App monitoring with CollectD

By default CollectD only monitors CPU, memory, interface and load.
You can configure CollectD to monitor much more:

Monitor & detect anomalies with Anomaly.io

SIGN UP
help with term papers