ncabatoff / process-exporter

Prometheus exporter that mines /proc to report on selected processes
MIT License
1.7k stars 269 forks source link

BUG : Can't bind port on both IPv4 and IPv6 #310

Closed devopsjohndoe closed 2 months ago

devopsjohndoe commented 2 months ago

Ubuntu Minimal 24.04(0.7.10)/24.10(0.8.2) https://packages.ubuntu.com/noble/prometheus-process-exporter

root@ip-ec2:/home/ubuntu# /usr/bin/prometheus-process-exporter --web.listen-address=0.0.0.0:9256 2024/08/04 10:15:52 Reading metrics from /proc for procnames: [] level=info ts=2024-08-04T10:15:53.026Z caller=tls_config.go:313 msg="Listening on" address=[::]:9256 level=info ts=2024-08-04T10:15:53.026Z caller=tls_config.go:316 msg="TLS is disabled." http2=false address=[::]:9256

It's listen just on tcp6 even if i put 0.0.0.0

tcp6 0 0 :::9256 :::* LISTEN 3207840/prometheus- off (0.00/0/0)

Issue with netfilter rules!