fping-exporter allows you to run measure network latency using fping and
prometheus. Compared to blackbox-exporter, it gives you additionally latency
distribution and a packet loss statistics. Also, it is probably better
performing thanks to fping.
WARNING: This is currently a work in progress, the code is not production-ready yet
This graph shows the fping_rtt summary as "SmokePing"-like graph in Grafana:
Usage
Start fping-exporter as follows:
fping-exporter [OPTIONS]
Application Options:
-l, --listen=[HOST]:PORT Listen address (default: :9605)
-p, --period=SECS Period in seconds, should match Prometheus scrape interval (default: 60)
-f, --fping=PATH Fping binary path (default: /usr/bin/fping)
-c, --count=N Number of pings to send at each period (default: 20)
Help Options:
-h, --help Show this help message
Configure Prometheus to use this, as you would with blackbox-exporter. For example: