prometheus node exporter

warning // lessons learned

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

install

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

scrap with vmagent

see vmetrics-vmagent

clean-up

apt purge prometheus-node-exporter

resources

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


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun