prometheus.prometheus.bind_exporter role – Prometheus BIND Exporter

Note

This role is part of the prometheus.prometheus collection (version 0.23.0).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it use: ansible-galaxy collection install prometheus.prometheus.

To use it in a playbook, specify: prometheus.prometheus.bind_exporter.

Entry point main – Prometheus BIND Exporter

Synopsis

Parameters

Parameter

Comments

bind_exporter_basic_auth_users

dictionary

Dictionary of users and password for basic authentication. Passwords are automatically hashed with bcrypt.

bind_exporter_binary_install_dir

string

Advanced

Directory to install bind_exporter binary

Default: "/usr/local/bin"

bind_exporter_binary_url

string

URL of the bind_exporter binaries .tar.gz file

Default: "https://github.com/{{ _bind_exporter_repo }}/releases/download/v{{ bind_exporter_version }}/bind_exporter-{{ bind_exporter_version }}.{{ ansible_system | lower }}-{{ _bind_exporter_go_ansible_arch }}.tar.gz"

bind_exporter_checksums_url

string

URL of the bind_exporter checksums file

Default: "https://github.com/{{ _bind_exporter_repo }}/releases/download/v{{ bind_exporter_version }}/sha256sums.txt"

bind_exporter_config_dir

string

Path to directory with bind_exporter configuration

Default: "/etc/bind_exporter"

bind_exporter_http_server_config

dictionary

Config for HTTP/2 support.

Keys and values are the same as in prometheus docs.

bind_exporter_local_cache_path

string

Local path to stash the archive and its extraction

Default: "/tmp/bind_exporter-{{ ansible_system | lower }}-{{ _bind_exporter_go_ansible_arch }}/{{ bind_exporter_version }}"

bind_exporter_pid_file

string

Path to BIND’s pid file to export process information

Default: "/run/named/named.pid"

bind_exporter_stats_groups

list / elements=string

List of statistics to collect

Choices:

  • "server"

  • "view"

  • "tasks"

Default: []

bind_exporter_stats_url

string

HTTP XML API address of BIND server

Default: "http://localhost:8053/"

bind_exporter_stats_version

string

BIND statistics version.

Choices:

  • "auto" ← (default)

  • "json"

  • "xml"

  • "xml.v3"

bind_exporter_system_group

string

Advanced

System group for BIND Exporter

Default: "bind-exp"

bind_exporter_system_user

string

Advanced

BIND Exporter user

Default: "bind-exp"

bind_exporter_timeout

string

Timeout for trying to get stats from BIND server

Default: "10s"

bind_exporter_tls_server_config

dictionary

Configuration for TLS authentication.

Keys and values are the same as in prometheus docs.

bind_exporter_version

string

BIND exporter package version. Also accepts latest as parameter.

Default: "0.8.0"

bind_exporter_web_listen_address

string

Address on which bind_exporter will listen

Default: "0.0.0.0:9119"

bind_exporter_web_telemetry_path

string

Path under which to expose metrics

Default: "/metrics"

Authors

  • Prometheus Community