ansible icon indicating copy to clipboard operation
ansible copied to clipboard

Issues with SELinux Configuration and Systemd Service in Prometheus: Lack of IPv6 and Iterable Support

Open rabalyn opened this issue 2 years ago • 2 comments

SELinux configuration in prometheus.prometheus.node_exporter

There is an issue with the current implementation of the SELinux configuration, see this task:

Allow node_exporter port in SELinux on RedHat OS family

  1. This implementation does not support the use of IPv6 listen addresses.
  2. The template for the node_exporter.service supports iterables, which isn't supported with this implementation aswell.

systemd service for prometheus.prometheus.prometheus

There is further an incosistency that the service file for prometheus does not support iterables for the listen_addresses aswell:

prometheus.service

rabalyn avatar Dec 15 '23 15:12 rabalyn

Pull requests welcome!

gardar avatar Dec 15 '23 15:12 gardar

Any updates?!

blackdesert575 avatar Mar 12 '25 18:03 blackdesert575