Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
791 views
in Technique[技术] by (71.8m points)

prometheus - Grafana dashboard isn't populating any data (using Node exporter)

I'm trying create Grafana dashboard to monitor our infrastructure, installed and configured Grafana, Prometheus. (using 1860 prebuilt dashboard)

configured/created datasource is fine, yet every graph is showing NA(not available?).

Grafana 7.3.7 | Prometheus 2.1.0+ds | Node Exporter 0.15.2+ds

Is there anything that I'm missing here, any help/pointers please.

followed this article - https://oastic.com/posts/how-to-monitor-an-ubuntu-server-with-grafana-prometheus/.

question from:https://stackoverflow.com/questions/65844007/grafana-dashboard-isnt-populating-any-data-using-node-exporter

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Try the following:

  • go to the Prometheus web UI and click on Status - Targets
    • is the node exporter in the list (if not, check your prometheus config)
    • is prometheus is able to scrape the metrics from node exporter
    • if not, can you crape them with your browser (or curl)
  • if prometheus can scrape the metrics can Grafana access them
    • try the "Explore" feature to find some metrics exported by the node exporter

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...