prometheus-rpm icon indicating copy to clipboard operation
prometheus-rpm copied to clipboard

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

Open Merlin83b opened this issue 6 years ago • 2 comments
trafficstars

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 avatar Mar 20 '19 12:03 Merlin83b

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

zoonage avatar Apr 03 '19 17:04 zoonage

@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

mator avatar May 13 '21 09:05 mator