# Install collectd with Homebrew, apk, apt, dnf, MacPorts, Nix, zypper

Statistics collection and monitoring daemon. Version 5.12.0 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:collectd
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install collectd
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install collectd
```

  Evidence: MacPorts ports tree: sysutils/collectd/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add collectd
```

  Evidence: Alpine Linux edge package indexes: collectd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install collectd
```

  Evidence: Debian stable package indexes: collectd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install collectd
```

  Evidence: Fedora Rawhide package metadata: collectd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#collectd
```

  Evidence: nixpkgs package indexes: pkgs/by-name/co/collectd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install collectd
```

  Evidence: openSUSE Tumbleweed package metadata: collectd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:collectd
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/collectd>
- **Version:** 5.12.0
- **Source summary:** Statistics collection and monitoring daemon
- **Homepage:** <https://collectd.org/>
- **Repository:** <https://github.com/collectd/collectd>
- **Upstream docs:** <https://collectd.org/documentation>
- **License:** MIT
- **Source archive:** <https://storage.googleapis.com/collectd-tarballs/collectd-5.12.0.tar.bz2>
- **Last updated:** 2026-06-22T14:03:03-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- collectd (cli)
- collectd-nagios (cli)
- collectd-tg (cli)
- collectdctl (cli)
- collectdmon (cli)
- collectd (alias)
- collectd-nagios (alias)
- collectd-tg (alias)
- collectdctl (alias)
- collectdmon (alias)

## Dependencies

- libgcrypt
- libgpg-error
- libtool
- net-snmp
- protobuf-c
- riemann-client

## Build dependencies

- pkgconf

## Uses from macOS

- perl

## Install behavior

- Post-install hook: not defined
- Service: declared
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 5.12.0
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://collectd.org/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

collectd is a small daemon that periodically collects system information and provides mechanisms to store and monitor the collected values.

### Project history

The official README presents collectd as a system information collection daemon with a plugin-centered architecture for collecting metrics from operating systems, services, hardware, and applications.

The project has a long 3.x, 4.x, and 5.x release history in its official tag namespace, with later 6.0 release candidates visible in the official repository.

### Adoption history

collectd was widely adopted by Unix and Linux distributions as a lightweight host metrics collector before newer cloud-native agents became common. The input package facts show it packaged across apk, Homebrew, Debian, Fedora, MacPorts, Nix, Ubuntu, and zypper ecosystems.

Its plugin set helped it fit many monitoring stacks: local collection, network forwarding, RRD-style storage, and integrations with systems such as Apache, BIND, Ceph, cgroups, DPDK, OpenLDAP, and many hardware or kernel interfaces.

### How it is used

Users run collectd as a daemon, configure global settings and LoadPlugin blocks in collectd.conf, and use companion commands such as collectdctl, collectdmon, collectd-nagios, and collectd-tg for control or integration.

### Why package nerds care

collectd is package-manager significant because it is a classic plugin-heavy daemon: downstream packages often split or toggle plugin dependencies, ship init/service integration, and place collectd.conf under the package sysconfdir.

### Timeline

- 2000s: collectd 3.x and 4.x release tags appear in the official repository history.
- 2010s: collectd 5.x becomes the long-running packaged release series.
- 2020s: Official repository contains 6.0 release-candidate tags.

### Related projects

- collectd sits in the same operational space as host monitoring agents, metrics forwarders, RRD-based collection setups, and Nagios-compatible monitoring integrations.

### Sources

- <https://collectd.org/>
- <https://collectd.org/documentation>
- <https://github.com/collectd/collectd>
- <https://github.com/collectd/collectd/blob/main/src/collectd.conf.in>


## Security Notes

formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- formula declares a Homebrew service


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: sysconfdir/collectd.conf
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** collectd
- **Version Scheme:** 0
- **Revision:** 10
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - collectd - 5.12.0-26: normalized package name match | Debian stable package indexes: collectd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | statistics collection and monitoring daemon | https://collectd.org/
- Debian apt - collectd-core - 5.12.0-26: normalized package name match | Debian stable package indexes: collectd-core from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | statistics collection and monitoring daemon (core system) | https://collectd.org/
- Debian apt - collectd-dev - 5.12.0-26: normalized package name match | Debian stable package indexes: collectd-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | statistics collection and monitoring daemon (development files) | https://collectd.org/
- Debian apt - collectd-utils - 5.12.0-26: normalized package name match | Debian stable package indexes: collectd-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | statistics collection and monitoring daemon (utilities) | https://collectd.org/
- Debian apt - libcollectdclient-dev - 5.12.0-26: normalized package name match | Debian stable package indexes: libcollectdclient-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | client library for collectd's control interface (development files) | https://collectd.org/
- Debian apt - libcollectdclient1t64 - 5.12.0-26: normalized package name match | Debian stable package indexes: libcollectdclient1t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | client library for collectd's control interface | https://collectd.org/
- Nix - collectd: normalized package name match | nixpkgs package indexes: pkgs/by-name/co/collectd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - collectd - 5.12.0-17.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: collectd from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | statistics collection and monitoring daemon | https://collectd.org/
- Ubuntu apt - collectd-core - 5.12.0-17.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: collectd-core from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | statistics collection and monitoring daemon (core system) | https://collectd.org/
- Ubuntu apt - collectd-dev - 5.12.0-17.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: collectd-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | statistics collection and monitoring daemon (development files) | https://collectd.org/
- Ubuntu apt - collectd-utils - 5.12.0-17.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: collectd-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | statistics collection and monitoring daemon (utilities) | https://collectd.org/
- Ubuntu apt - libcollectdclient-dev - 5.12.0-17.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libcollectdclient-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | client library for collectd's control interface (development files) | https://collectd.org/
- Ubuntu apt - libcollectdclient1t64 - 5.12.0-17.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libcollectdclient1t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | client library for collectd's control interface | https://collectd.org/
- apk - collectd - 5.12.0-r25: normalized package name match | Alpine Linux edge package indexes: collectd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | The system statistics collection daemon | https://collectd.org/
- apk - collectd-amqp - 5.12.0-r25: normalized package name match | Alpine Linux edge package indexes: collectd-amqp from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | amqp pluin for collectd | https://collectd.org/
- apk - collectd-apache - 5.12.0-r25: normalized package name match | Alpine Linux edge package indexes: collectd-apache from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | apache pluin for collectd | https://collectd.org/


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Scientific computing packages](https://www.automicvault.com/pkg/scientific-computing-tools/) - Matched scientific computing metadata.
- [libgcrypt](https://www.automicvault.com/pkg/brew/libgcrypt/) - Runtime dependency declared by Homebrew.
- [libgpg-error](https://www.automicvault.com/pkg/brew/libgpg-error/) - Runtime dependency declared by Homebrew.
- [libtool](https://www.automicvault.com/pkg/brew/libtool/) - Runtime dependency declared by Homebrew.
- [net-snmp](https://www.automicvault.com/pkg/brew/net-snmp/) - Runtime dependency declared by Homebrew.
- [protobuf-c](https://www.automicvault.com/pkg/brew/protobuf-c/) - Runtime dependency declared by Homebrew.
- [riemann-client](https://www.automicvault.com/pkg/brew/riemann-client/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [freeradius-server](https://www.automicvault.com/pkg/brew/freeradius-server/) - Popular package that depends on this formula.
- [ctop](https://www.automicvault.com/pkg/brew/ctop/) - Shares av.db curated category or tags: cli, metrics, monitoring, system.
- [dwatch](https://www.automicvault.com/pkg/brew/dwatch/) - Shares av.db curated category or tags: cli, daemon, monitoring, system.
- [metricbeat](https://www.automicvault.com/pkg/brew/metricbeat/) - Shares av.db curated category or tags: cli, metrics, monitoring, system.
- [monitoring-plugins](https://www.automicvault.com/pkg/brew/monitoring-plugins/) - Shares av.db curated category or tags: cli, monitoring, plugins, system.
- [nagios-plugins](https://www.automicvault.com/pkg/brew/nagios-plugins/) - Shares av.db curated category or tags: cli, monitoring, plugins, system.
- [netdata](https://www.automicvault.com/pkg/brew/netdata/) - Shares av.db curated category or tags: cli, metrics, monitoring, system.
- [node_exporter](https://www.automicvault.com/pkg/brew/node-exporter/) - Shares av.db curated category or tags: cli, metrics, monitoring, system.
- [uptimed](https://www.automicvault.com/pkg/brew/uptimed/) - Shares av.db curated category or tags: cli, daemon, monitoring, system.
- [syslog-ng](https://www.automicvault.com/pkg/brew/syslog-ng/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, client, daemon, net, net-snmp.

## Combined YAML source

View the package source record on GitHub. [combined/collectd.yml](https://github.com/automic-vault/db/blob/main/combined/collectd.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
