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

Ownership/permissions don't allow textfile_collector files to be read #102

Open
Merlin83b opened this issue Mar 20, 2019 · 2 comments
Open

Comments

@Merlin83b
Copy link

Under CentOS 7, node_exporter runs as the prometheus user in the prometheus group.

The /var/lib/node_exporter/textfile_collector directory is owned by root:node_exporter with 771 permissions, so files created inside can't be read by the node_exporter process

Solutions include changing permissions on the textfile_collector directory or adding the prometheus user to the node_exporter group.

@zoonage
Copy link
Contributor

zoonage commented Apr 3, 2019

@Merlin83b what makes this directory? I can't see a reference to it anywhere

@mator
Copy link

mator commented May 13, 2021

@Merlin83b please give additional info on ticket or close it as irrelevant. Thanks.
PS: can't find /var/lib/node_exporter/textfile_collector on my centos-7 running node_exporter

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

3 participants