Package Details: collectd 5.12.0-14

Git Clone URL: https://aur.archlinux.org/collectd.git (read-only, click to copy)
Package Base: collectd
Description: Daemon which collects system performance statistics periodically
Upstream URL: https://collectd.org/
Licenses: MIT AND GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-only AND ISC AND MIT-0
Submitter: arojas
Maintainer: lilydjwg (lilac)
Last Packager: lilac
Votes: 9
Popularity: 0.140681
First Submitted: 2021-05-08 09:06 (UTC)
Last Updated: 2024-01-17 04:20 (UTC)

Dependencies (59)

Required by (1)

Sources (3)

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 https://github.com/collectd/collectd/issues/4027 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.new/src/cpython.h
--- collectd-5.12.0/src/cpython.h   2020-07-20 11:50:14.293155228 +0200
+++ collectd-5.12.0.new/src/cpython.h   2023-05-07 07:30:00.149623400 +0200
@@ -24,10 +24,6 @@
  *   Sven Trenkel <collectd at semidefinite.de>
  **/

-/* Some python versions don't include this by default. */
-
-#include <longintrepr.h>
-
 /* These two macros are basically Py_BEGIN_ALLOW_THREADS and
  * Py_BEGIN_ALLOW_THREADS
  * 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: https://github.com/collectd/collectd/issues/4034

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.