NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.17k stars 13.43k forks source link

datadog 5: dd-agent.service runs without enough privileges to get disk metrics #39811

Open coretemp opened 6 years ago

coretemp commented 6 years ago

Issue description

systemctl status dd-agent.service | grep -o "dd.collector.*tracing" | head -n 1
dd.collector | checks.disk(disk.py:106) | Unable to get disk metrics for /sys/kernel/debug/tracing: [Errno 13] Permission denied: '/sys/kernel/debug/tracing

Expected output: Empty

This holds for master, 18.03, and 17.09.

Possible solution is to run process as a different user (e.g. root, but there are many environments in which this is not desirable).

stale[bot] commented 4 years ago

Thank you for your contributions.

This has been automatically marked as stale because it has had no activity for 180 days.

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.
squillace91 commented 4 years ago

still important to me

stale[bot] commented 3 years ago

I marked this as stale due to inactivity. → More info