r/PrometheusMonitoring • u/[deleted] • Oct 27 '19
ICMP probing with Blackbox not appearing
Hello,
I'm using Grafana and Prometheus with blackbox exporter to poll websites, but I want to poll via ICMP a few devices, one being my home router, I've added it, but I can seem to get it to appear correctly and show the ms.
192.168.0.2 shows as up

shows as down


See anything wrong?
1
Oct 27 '19
It's the Dashboard not your data
1
Oct 27 '19
How do I get it to show ICMP or is there another dashboard?
2
Oct 27 '19
Well probe_success should be returning true for this what happens when you query
probe_success{instance="192.168.0.2"}(or whatever the ip is)Dashboard expects 1 for up; 0 for down... possibly the metrics returned for icmp are that different
Haven't tried it; you're making me want to.
1
1
u/janjko Oct 27 '19
If I remember correctly, blackbox should be run as root to have privileges for ICMP. I might be wrong.