using Prometheus+blackbox_exporter to monitor HTTP, ICMP network performance
Not many words, the network still need to monitor up. Reproduced in the last blog post I posted the next Prometheus Monitoring chart, here in detail the following usage.
The steps to install Prometheus, Grafana are skipped, not the focus here, if needed, can be turned over my previous blog notes.
Cd/usr/local/prometheus
Vim prometheus.yml Add the following (the 51cto editor will automatically lose the indentation of the yml, so this is a picture)
Need to point out is Metrics_path:/probe must write, if written other names, grammar does not report errors, but the targets page display will indicate that the data format is incorrect.
Check the syntax for an error
./promtool Check-config Prometheus.yml
Overloaded configuration Files
/bin/kill-sighup $ (/sbin/pidof Prometheus)
Then, to access the Prometheus Web interface, under Target, you can see that the new configuration appears:
Once the value has been collected, it can be plotted in the Grafana. Here is the test diagram I drew.
Monitoring HTTP, ICMP network performance using Prometheus+blackbox_exporter