1. Install and configure prometheus
tar zxvf prometheus-2.3.0.linux-amd64.tar.gz -C /usr/local/ ln -sv /usr/local/prometheus-2.3.0.linux-amd64/ /usr/local/prometheus cd /usr/local/prometheus [root@do1cloud03 prometheus]# cat prometheus.yml |egrep -v '#' global: alerting: alertmanagers: - static_configs: - targets: rule_files: scrape_configs: - job_name: linux static_configs: - targets: ['192.168.1.46:9100'] labels: instance: db1 - job_name: node45 static_configs: - targets: ['192.168.1.45:9100'] labels: instance: node45
2. Install node-exporter
tar -zxvf node_exporter-0.16.0.linux-arm64.tar.gz mv node_exporter-0.16.0.linux-amd64 /usr/local/node_exporter ./node_exporter
3. Quguan network node-exporter-1.6.0 Download corresponding dashboard
https://grafana.com/grafana/dashboards
4. The dashboard is provided to
5. troubleshooting ideas: where to get prom sql, Prometheus to the query graph