Hmm, if u type sudo systemctl status prometheu-node-exporter what is the output? and I believe inside configuration file u should not use 0.0.0.0 (IPv4) try with :: (IPv6… didn’t tested)
After some research i used the cURL wrong. need it to wrap it to work.
curl -S -6 'http://[IPv6]:12798/metrics'
curl: (7) Failed to connect to IPv6 port 12798: Connection refused
I checked the ufw status and the port is open for the ip of the relay with the grafana server.
curl -S -6 'http://[IPv6]:12666/metrics'
# HELP apt_upgrades_pending Apt package pending updates by origin.
# TYPE apt_upgrades_pending gauge
apt_upgrades_pending{arch="all",origin="Ubuntu:20.04/focal-updates"} 1
apt_upgrades_pending{arch="amd64",origin="Ubuntu:20.04/focal-updates"} 8
# HELP go_gc_duration_seconds A summary of the GC invocation durations.
# TYPE go_gc_duration_seconds summary
go_gc_duration_seconds{quantile="0"} 5.024e-06
go_gc_duration_seconds{quantile="0.25"} 7.911e-06
go_gc_duration_seconds{quantile="0.5"} 2.7033e-05
go_gc_duration_seconds{quantile="0.75"} 9.5014e-05
go_gc_duration_seconds{quantile="1"} 0.000366446
go_gc_duration_seconds_sum 3.564344939
go_gc_duration_seconds_count 60292
# HELP go_goroutines Number of goroutines that currently exist.
# TYPE go_goroutines gauge
go_goroutines 9
# HELP go_info Information about the Go environment.
# TYPE go_info gauge
go_info{version="go1.13.8"} 1
# HELP go_memstats_alloc_bytes Number of bytes allocated and still in use.
# TYPE go_memstats_alloc_bytes gauge
go_memstats_alloc_bytes 2.245576e+06
# HELP go_memstats_alloc_bytes_total Total number of bytes allocated, even if freed.
# TYPE go_memstats_alloc_bytes_total counter
go_memstats_alloc_bytes_total 1.10373235064e+11
...and many more
can’t use this on the server as i only use the terminal version. tried telnet: connection refused.
even if i disable the FW on the router completely for the device.
so permission is not denied so the port should be open but i get refused