Collectd is a high-performance daemon that collects, transfers, and stores system performance statistics. Its modular architecture and low memory footprint make it ideal for embedded systems and large-scale deployments.
📑 Table of Contents
Key Features
- Modular Design: Over 100 plugins for various data sources
- Minimal Footprint: Written in C for efficiency
- Network Support: Collect and aggregate metrics across hosts
- RRD Integration: Native support for round-robin databases
- SNMP Support: Monitor network devices
Installation
Install collectd on Debian/Ubuntu:
sudo apt install collectd collectd-utils
sudo systemctl enable collectd
sudo systemctl start collectd
Usage Examples
Configure CPU and memory monitoring:
# /etc/collectd/collectd.conf
LoadPlugin cpu
LoadPlugin memory
<Plugin cpu>
ReportByCpu true
ReportByState true
</Plugin>
Benefits
Collectd excels at gathering metrics with minimal resource usage. Its plugin architecture covers nearly every metric source, while network capabilities enable centralized collection from distributed systems.
Was this article helpful?