Comments on How to Install Prometheus Monitoring and node_exporter on CentOS 8
Prometheus is an open source monitoring system that allows you to collect metrics from any configured target system. Prometheus implements a multi-dimensional data-model with powerful queries, great visualization, precise alerting, and comes with many integrations.
4 Comment(s)
Comments
What about the CentOS 8 where SELinux is not disabled ?This fails with `node_exporter.service: Failed to execute command: Permission denied`
Found the answer:
chcon -u system_u -t bin_t /home/prometheus/node_exporter/node_exporterchcon -u system_u -t bin_t /home/prometheus/prometheus/prometheus
You cant edit service files without root user...
permission denied writing to /etc/systemd/system folder.. whats the point of the prometheus user exactly?