3.02 Install Prometheus - MartinWong06/grafana GitHub Wiki

Apt update repo

sudo apt update -y 

Install prometheus package

sudo apt install prometheus -y 

Check the prometheus status

sudo service prometheus status

Enabled prometheus to ensure it will running when server running

sudo systemctl enable prometheus

Prometheus install node exporter for monitor it's metrics

sudo service prometheus-node-exporter status

Check on Prometheus status

curl http://localhost:9090

Check on the node exporter status

curl http://localhost:9100/metrics
⚠️ **GitHub.com Fallback** ⚠️