mash-playbook/docs/services/prometheus-blackbox-exporter.md
2023-03-19 22:34:43 +02:00

1.5 KiB

Prometheus Blackbox Expoter

This playbook can configure Prometheus Blackbox Exporter.

Configuration

To enable this service, add the following configuration to your vars.yml file and re-run the installation process:

########################################################################
#                                                                      #
# prometheus-blackbox-exporter                                         #
#                                                                      #
########################################################################

prometheus_blackbox_exporter_enabled: true
prometheus_blackbox_exporter_hostname: mash.example.com
prometheus_blackbox_exporter_path_prefix: /metrics/blackbox-exporter
prometheus_blackbox_exporter_basicauth_user: your_username
prometheus_blackbox_exporter_basicauth_password: your password

########################################################################
#                                                                      #
# /prometheus-blackbox-exporter                                        #
#                                                                      #
########################################################################

Usage

After you installed the blackbox exporter, your blackbox prober will be available on mash.example.com/metrics/blackbox-exporter with basic auth credentials you configured