So i set up grafana and prometheus to monitor my servers but i don't get any data in grafana (and i don't know how i can check if its working outside of grafana...
Prometheus.yml:
global:
scrape_interval: 10s
scrape_configs:
- job_name: 'prometheus'
scrape_interval: 5s
static_configs:
- targets: ['localhost:9090']
- job_name: 'node'
scrape_interval: 5s
static_configs:
- targets: ['localhost:9100', '192.168.1.11:9100', '192.168.1.12:9100']
What did i miss/do wrong?
Edit: I do have node_exporter running on all my servers i want to check out. Prometheus seems to gets its data?
hostname:9090/graph
for the prometheus query interface. Chances are that the problem is that prometheus is not scraping, and so Grafana will find nothing. If there IS data in Prometheus but not Grafana, then that's a different problem. – Andy Lester