简体   繁体   中英

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/ .

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

Found the issue,... Grafana is expecting latest Node Exporter 0.16 metrics while ubuntu's package manager has 0.15 which is older version. metrics are little different in older version for example node_cpu is replaced with node_cpu_seconds etc.

Ubuntu's package manager doesn't guarantee latest version, hence its advisable to always wget the latest package from source for tools such as this.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM