prometheus.prometheus.dns_exporter role – Prometheus DNS Exporter
Note
This role is part of the prometheus.prometheus collection (version 0.26.2).
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.dns_exporter
.
Entry point main
– Prometheus DNS Exporter
Synopsis
Deploy prometheus dns exporter using ansible
Parameters
Parameter |
Comments |
---|---|
Dictionary of users and password for basic authentication. Passwords are automatically hashed with bcrypt. |
|
Path to directory with dns_exporter configuration Default: |
|
Configuration template for dns_exporter Default: |
|
Enable or not daemon debug Choices:
|
|
List of disabled collectors. By default dns_exporter disables collectors listed here. |
|
List of dicts defining additionally enabled collectors and their configuration. It adds collectors to those enabled by default. Default: |
|
Home of dns_exporter user and base file locations Default: |
|
Config for HTTP/2 support. Keys and values are the same as in dns_exporter docs. |
|
Advanced System group for dns exporter Default: |
|
Advanced DNS exporter user Default: |
|
Directory used by the Textfile Collector. To get permissions to write metrics in this directory, users must be in Note: More information in TROUBLESHOOTING.md guide. Default: |
|
Configuration for TLS authentication. Keys and values are the same as in dns_exporter docs. |
|
DNS exporter package version. Also accepts latest as parameter. Default: |
|
Python virtualenv filepath for dns_exporter Default: |
|
Address on which dns exporter will listen Default: |
|
IP address for dns_exporter to listen to Default: |
|
Port for dns_exporter to listen to Default: |