Package Details: datadog-agent 7.52.1-1

Git Clone URL: https://aur.archlinux.org/datadog-agent.git (read-only, click to copy)
Package Base: datadog-agent
Description: Datadog Agent: collect metrics and events from your systems and apps
Upstream URL: https://datadoghq.com
Keywords: agent alerts analytics metrics monitoring
Licenses: Apache
Submitter: albertvaka
Maintainer: albertvaka (ashwat)
Last Packager: ashwat
Votes: 3
Popularity: 0.019419
First Submitted: 2019-04-17 22:25 (UTC)
Last Updated: 2024-04-04 15:49 (UTC)

Latest Comments

1 2 3 Next › Last »

albertvaka commented on 2023-09-26 12:00 (UTC)

I don't know about those packages so I'm probably not the best person to maintain them on AUR, but certainly it should be easy to do using the PKGBUILD file for datadog-agent as a base.

sankalpa commented on 2023-09-26 08:58 (UTC)

Albert,

Do you think there is a way to get "datadog-apm-library-all" and "datadog-apm-inject" migrated to AUR as well ?

ashwat commented on 2023-09-10 05:38 (UTC)

Hi @albertvaka!

I did just want to mention that I see an updated version available! Looks like it's v7.47.0-1. Will await the update and thanks!

albertvaka commented on 2023-09-10 05:31 (UTC)

Thanks shulhan, I can confirm this issue. I'll apply your patch and push an update.

shulhan commented on 2023-08-24 11:53 (UTC)

Hi @albertvaka,

I found some issues when enabling system-probe,

... failed to run constant fetcher: /opt/datadog-agent/embedded/share/system-probe/ebpf/runtime-security-offset-guesser.o has incorrect permissions: user=971, group=971, permissions=-rw-r--r--

which cause datadog-agent-sysprobe.service unable to run.

The issue is the *.o files (and all files under /opt/datadog-agent/embedded/share/system-probe/) should be owned by root. Some files, when compared with other Linux system, also have different permissions which I have fixed in datadog-agent.tmpfiles.

The following patches fix the permissions, making it match with other Linux installation,

diff --git a/.SRCINFO b/.SRCINFO
index ed72e2c..adb61e0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = datadog-agent
        pkgdesc = Datadog Agent: collect metrics and events from your systems and apps
        pkgver = 7.46.0
-       pkgrel = 1
+       pkgrel = 2
        url = https://datadoghq.com
        arch = x86_64
        arch = aarch64
@@ -18,7 +18,7 @@ pkgbase = datadog-agent
        sha512sums = SKIP
        sha512sums = SKIP
        sha512sums = 20cacea9611af70f3a8802dfd545313cf40fe7784cc44555cfe50602676d624072caf3803193e23d38d9a24f5a2c2a7ee336f9a9ca87562326b21b5ed677032f
-       sha512sums = 2a3e873d88b8f3a5d90591f955894273eb28d0f9b352e54be4f1125d4229a8f1d7eece8bf6ad41b85ee194390821e9c851393fb36ac249069cfdf7470925ce21
+       sha512sums = 8878b8118bb980f43d8686dc87f516768c300bb7d05788bc3a8961aa4009e118b5a22a8f5c9759fd9bcd906243ef10bf06c4c4cf27c62b4d1a1e04bca274f78b
        source_x86_64 = datadog-agent-7.46.0-1-amd64-Packages::https://apt.datadoghq.com/dists/stable/7/binary-amd64/Packages
        source_x86_64 = https://apt.datadoghq.com/pool/d/da/datadog-agent_7.46.0-1_amd64.deb
        sha512sums_x86_64 = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 7c22a81..03e5509 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 pkgname=datadog-agent
 pkgver=7.46.0
 _agentrel=1
-pkgrel=1
+pkgrel=2
 pkgdesc='Datadog Agent: collect metrics and events from your systems and apps'
 arch=('x86_64' 'aarch64')
 license=('Apache')
@@ -24,7 +24,7 @@ validpgpkeys=('D75CEA17048B9ACBF186794B32637D44F14F620E') # Datadog, Inc. Master
 sha512sums=('SKIP'
             'SKIP'
             '20cacea9611af70f3a8802dfd545313cf40fe7784cc44555cfe50602676d624072caf3803193e23d38d9a24f5a2c2a7ee336f9a9ca87562326b21b5ed677032f'
-            '2a3e873d88b8f3a5d90591f955894273eb28d0f9b352e54be4f1125d4229a8f1d7eece8bf6ad41b85ee194390821e9c851393fb36ac249069cfdf7470925ce21')
+            '8878b8118bb980f43d8686dc87f516768c300bb7d05788bc3a8961aa4009e118b5a22a8f5c9759fd9bcd906243ef10bf06c4c4cf27c62b4d1a1e04bca274f78b')
 sha512sums_x86_64=('SKIP'
                    '6898e30c1fe6fdc87ab8892e6b6da4f65b725ee51298c07c51903586ebda6eab940138e5f0e9ae8a0d3a7d65e95a62ad65612c191e4585c95c2e8fab609b5fcc')
 sha512sums_aarch64=('SKIP'
diff --git a/datadog-agent.tmpfiles b/datadog-agent.tmpfiles
index 42d0051..d3957ef 100644
--- a/datadog-agent.tmpfiles
+++ b/datadog-agent.tmpfiles
@@ -1,3 +1,7 @@
-d /var/log/datadog 0755 dd-agent dd-agent
-Z /etc/datadog-agent 0755 dd-agent dd-agent
-Z /opt/datadog-agent 0755 dd-agent dd-agent
+d /var/log/datadog   0755 dd-agent dd-agent
+Z /etc/datadog-agent -    dd-agent dd-agent
+Z /opt/datadog-agent -    dd-agent dd-agent
+z /opt/datadog-agent/embedded/bin/security-agent        0755 root root
+z /opt/datadog-agent/embedded/bin/system-probe          0755 root root
+Z /opt/datadog-agent/embedded/share/system-probe/       -    root root
+z /opt/datadog-agent/run/runtime-security-registry.json 0644 root root

BTW, the prebuild package is available at https://build.kilabit.info/karajo/app/#job_aur_datadog-agent

albertvaka commented on 2022-05-07 00:32 (UTC)

You are right, it's a dependency. Let me add it :)

outloudvi commented on 2022-05-05 13:07 (UTC)

Note that it may need libxcrypt-compat as an optional dependency since some of its features require libcrypt.so.1. For example:

$ datadog-agent integration install -t datadog-traefik==1.0.0                
Error: could not get current version of datadog-traefik: error executing python: /opt/datadog-agent/embedded/bin/python3: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory

albertvaka commented on 2021-04-20 22:07 (UTC)

Thanks Mark, I'll include your changes together with the 7.27 update :)

mnot commented on 2021-04-19 05:17 (UTC)

Upstream now supports armv8. I've made an attempt to accommodate it here: https://gist.github.com/mnot/0bf61ce9bd3cf2f45a8f54578bbdbed1

... it seems to work for me (on a Raspberry Pi 4).

albertvaka commented on 2020-11-16 13:41 (UTC)

You might need to run the following command to make the GPG key from Datadog trusted before you can build this package:

gpg --keyserver hkp://keyserver.ubuntu.com --receive-keys A2923DFF56EDA6E76E55E492D3A80E30382E94DE