Situation: Adding a new Arch Linux server to monitoring in a Prometheus/Grafana environment

Run this as sudo on the server to be monitored:

pacman -S prometheus-node-exporter prometheus
ufw allow 9090/tcp 9100/tcp
ufw reload
systemctl enable --now prometheus 
systemctl enable --now prometheus-node-exporter

Then add a new data source in the Grafana web GUI accessed at port :3000 on the Grafana server.

Annotation