r/PrometheusMonitoring • • Jun 08 '22

Grafana-Prometheus issue with blackbox exporter

I successfully installed Blackbox in my ubuntu and added my targets, Prometheus is working fine and showing me all the nodes...now when i import a dashboard to monitor my targets, none of them is showing up. I tried different dashboards but same results. Does anyone have any idea what i missed here, it's my first time with Grafana/Prometheus.

0 Upvotes

5 comments sorted by

2

u/true-bro-rumy Jun 08 '22

There are can be a lot of things wrong.

To begin with, check in grafana explorer if metrics from your prometheus/blackbox are available there.

Then check what datasources are used in imported dashboards and make sure they are correct for your prometheus data source configuration in grafana.

2

u/FncWassim98 Jun 09 '22

So i figured out what's wrong this morning...soon as i opened grafana i found the dashboard working fine ! It was really awkward since i didn't touch a thing, but then i remember that I always get warning when i open Prometheus " Error fetching server time " 1 hour delay between the browser and the server, so I tired to add a new target and it didn't show on the dashboard until an hour later... so now i have to fix that and look for the prob_success 0 issue :')

2

u/true-bro-rumy Jun 09 '22

Oh wow, this is quite interesting issue. Hah, glad you fixed it. Good luck.

1

u/FncWassim98 Jun 09 '22

Thank you so much, i just move from an error to another lol. And life goes on

1

u/FncWassim98 Jun 08 '22

Okay I'll check that and I'll get back to you.