Site Tools


Hotfix release available: 2025-05-14b "Librarian". upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
prog:prometheus

Prometheus

Blackbox exporter

Enables to set up a probe that monitors HTTP request for example. Prometheus itself can't do API endpoint monitoring - it can only ask results from probes.

https://github.com/prometheus/blackbox_exporter

You can just download the binary and run it on your server. It will be available on a configured port. In the blackbox directory is blackbox.yml file with configurations of different monitoring options. The URL's to be monitor can be configured into there, but can also be given by Prometheus in the URL when it pings the probe.

Here is quite an extensive example of different configuration options: https://github.com/prometheus/blackbox_exporter/blob/master/example.yml

Output of the probe is quite extensive, but main parameters to look for: probe_http_status_code probe_success

Links: All Blackbox configuration options: https://github.com/prometheus/blackbox_exporter/blob/master/CONFIGURATION.md https://blog.ruanbekker.com/blog/2019/05/17/install-blackbox-exporter-to-monitor-websites-with-prometheus/ https://www.sethryder.com/blackbox-exporter-accessing-multiple-modules-and-targets-with-a-single-job/

prog/prometheus.txt · Last modified: 2019/10/10 10:27 by rene