prometheus-rpm
prometheus-rpm copied to clipboard
Ownership/permissions don't allow textfile_collector files to be read
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.
@Merlin83b what makes this directory? I can't see a reference to it anywhere
@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