1
0
Fork 0
mirror of https://gitlab.com/s3lph/ansible-collection-prometheus synced 2024-10-23 20:07:00 +02:00
ansible-collection-prometheus/roles/prometheus/templates/etc/default/prometheus-blackbox-exporter.j2

35 lines
1.7 KiB
Text
Raw Normal View History

2021-11-06 05:22:17 +01:00
{{ ansible_managed | comment }}
# On sysvinit systems, when changing the configuration pathname also
# change it in the init script.
ARGS="--config.file /etc/prometheus/blackbox.yml {{ prometheus_blackbox_exporter_additional_arguments }}"
# Usage of prometheus-blackbox-exporter:
# --config.file="blackbox.yml"
# Blackbox exporter configuration file.
# --web.listen-address=":9115"
# The address to listen on for HTTP requests.
# --timeout-offset=0.5
# Offset to subtract from timeout in seconds.
# --history.limit=100
# The maximum amount of items to keep in the
# history.
# --web.external-url=<url>
# The URL under which Blackbox exporter is
# externally reachable (for example, if Blackbox
# exporter is served via a reverse proxy). Used
# for generating relative and absolute links back
# to Blackbox exporter itself. If the URL has a
# path portion, it will be used to prefix all
# HTTP endpoints served by Blackbox exporter. If
# omitted, relevant URL components will be
# derived automatically.
# --web.route-prefix=<path>
# Prefix for the internal routes of web endpoints.
# Defaults to path of --web.external-url.
# --log.level=info
# Only log messages with the given severity or above.
# One of: [debug, info, warn, error]
# --log.format=logfmt
# Output format of log messages. One of: [logfmt, json]