debian and ubuntu have old version of the node exporter, e.g.
# ubuntu 20.04.6 node_exporter, version 0.18.1+ds (branch: debian/sid, revision: 0.18.1+ds-2ubuntu0.1)
so the --collector.disable-defaults
argument is not available
apt install prometheus-node-exporter prometheus-node-exporter --version prometheus-node-exporter --help 2>&1 | less # / disable-defaults cat /usr/lib/systemd/system/prometheus-node-exporter.service systemctl status prometheus-node-exporter.service systemctl status prometheus-node-exporter-apt.timer netstat -lntup | grep prometheus curl -s http://localhost:9100/metrics | grep -v ^# | less
see vmetrics-vmagent
apt purge prometheus-node-exporter
https://github.com/prometheus/node_exporter ==> choose collectors
https://prometheus.io/docs/prometheus/latest/querying/examples/
https://manpages.debian.org/unstable/prometheus-node-exporter/prometheus-node-exporter.1.en.html