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)

Add comment

Please register in our forum first to comment.

Comments

By: Alexandre

What about the CentOS 8 where SELinux is not disabled ?This fails with `node_exporter.service: Failed to execute command: Permission denied`

By: Alexandre

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

 

By: Jon

You cant edit service files without root user...

By: Jon

permission denied writing to /etc/systemd/system folder.. whats the point of the prometheus user exactly?