Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get lsof installed and configured in sudoers file #19

Open
ssbarnea opened this issue Mar 21, 2016 · 4 comments
Open

get lsof installed and configured in sudoers file #19

ssbarnea opened this issue Mar 21, 2016 · 4 comments
Milestone

Comments

@ssbarnea
Copy link

lsof is needed in order to gather important metrics for datadog but is neither installed nor configured inside sudoers so dd-agent user can call it.

See DataDog/dd-agent#853

@olivielpeau olivielpeau modified the milestones: Triage, Later Jun 8, 2016
@olivielpeau
Copy link
Member

Hi @ssbarnea! I think we should consider adding this once the feature has been implemented in the process check of dd-agent.

I'll leave the issue in the Later milestone until then.

@kasperkronborg
Copy link

Any news on this feature?

@ssbarnea How did you end up solving your monitoring of open FDs for a certain user?

@ssbarnea
Copy link
Author

Sorry, got busy with other urgencies and I am not sure when I will be able to look at this again. For the moment I do not need the future anymore but I am sure I will need it again at some point.

@julian-alarcon
Copy link

The recommended way to do this according to the documentation https://docs.datadoghq.com/integrations/process/#configuration is to add this line to the /etc/sudoers file

dd-agent ALL=NOPASSWD: /bin/ls /proc/*/fd/

An additional task with an specific flag should be added to this ansible role.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants