'Grafana with Prometheus Node Export

I set up Prometheus + Node Exporter + Grafana with the following instructions: klick

Node Exporter Config Prometheus

So, everything worked quite well. In Prometheus "Targets" and "Metrics" are working fine.

Prometheus Targets Prometheus Metrics

Then I went over to Grafana and but the "host" list is empty and there's no data.

Grafana Dashboard Node Exporter Full

Then I taked a look into Grafana Dashboard "Prometheus Stats 2.0" and there is data from all three nodes.

Grafana Dashboard Prometheus Stats 2.0

So, I'm got stuck and I don't know how to figure out the problem. Perhaps anyone of the awesome guys here have an hint for me to help me out of this problems.

Thanks a lot for reading all of this in advance. Big hugs!



Solution 1:[1]

Are you using this Node Exporter? The Node Exporter Full dashboard uses some metrics to determine the "Job" and "Host" variables (see in "Dashboard settings" > "Variables" > "Query" field) which are not available in, for example, Windows exporter. In your case, clearly, these variables were not determined correctly. Take a look at the definition of the variables and try to replace the metric with another suitable one.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Marcelo Ávila de Oliveira