Package Details: collectd 5.12.0-11

Git Clone URL: (read-only, click to copy)
Package Base: collectd
Description: Daemon which collects system performance statistics periodically
Upstream URL:
Licenses: GPL
Submitter: arojas
Maintainer: lilydjwg (lilac)
Last Packager: lilac
Votes: 8
Popularity: 0.85
First Submitted: 2021-05-08 09:06 (UTC)
Last Updated: 2023-05-07 07:17 (UTC)

Latest Comments

tolumak commented on 2023-05-07 08:42 (UTC)

waow, what a prompt fix! Thank you very much!

lilydjwg commented on 2023-05-07 07:17 (UTC)

Thanks, it's fixed (actually I fixed it earlier but AUR was having issues at the time).

tolumak commented on 2023-05-07 05:44 (UTC)

Hello, collectd does not build anymore with Python 3.11. This is related to this issue that is not corrected in 5.12.0.

The patch is straightforward, can you please change PKGBUILD to apply it?

diff -burN collectd-5.12.0/src/cpython.h
--- collectd-5.12.0/src/cpython.h   2020-07-20 11:50:14.293155228 +0200
+++   2023-05-07 07:30:00.149623400 +0200
@@ -24,10 +24,6 @@
  *   Sven Trenkel <collectd at>

-/* Some python versions don't include this by default. */
-#include <longintrepr.h>
 /* These two macros are basically Py_BEGIN_ALLOW_THREADS and
  * from the other direction. If a Python thread calls a C function

RuneArch commented on 2022-08-10 22:57 (UTC)

Currently doesn't compile without a tweak to mount.h Reported upstream:

JP-Ellis commented on 2021-07-13 08:09 (UTC)

Oh, apologies. I this was for the stackdriver-collectd instead of collectd package. Glad I could help a little still with the service :)

lilydjwg commented on 2021-07-13 05:43 (UTC)

Nothing should be installed into /opt. Please check if your PKGBUILD is different somehow.

I'll update the service file to use Type=notify, skipping the collectdmon thing.

JP-Ellis commented on 2021-07-12 22:55 (UTC) (edited on 2021-07-12 23:08 (UTC) by JP-Ellis)

Is there any reason this is installed in /opt/collectd? It appears to me that the directory structure within /opt/collectd is compatible with having it installed within /usr.

It would also make more sense to have the configuration files in /etc (instead of /opt/etc) and the PID file in /run, etc.

Lastly, I'm not really sure the service should be forking. You can add the -f flag to prevent forking which I believe systemd prefers.