prometheus.prometheus.node_exporter role – Prometheus Node 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.node_exporter
.
Entry point main
– Prometheus Node Exporter
Synopsis
Deploy prometheus node exporter using ansible
Parameters
Parameter |
Comments |
---|---|
Dictionary of users and password for basic authentication. Passwords are automatically hashed with bcrypt. |
|
Advanced Directory to install node_exporter binary Default: |
|
URL of the node exporter binaries .tar.gz file Default: |
|
URL of the node exporter checksums file Default: |
|
Path to directory with node_exporter configuration Default: |
|
List of disabled collectors. By default node_exporter disables collectors listed here. |
|
List of dicts defining additionally enabled collectors and their configuration. It adds collectors to those enabled by default. Default: |
|
Config for HTTP/2 support. Keys and values are the same as in node_exporter docs. |
|
Local path to stash the archive and its extraction Default: |
|
Advanced System group for node exporter Default: |
|
Advanced Node 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 node_exporter docs. |
|
Node exporter package version. Also accepts latest as parameter. Default: |
|
Exclude metrics about the exporter itself (promhttp_*, process_*, go_*). Choices:
|
|
Address on which node exporter will listen Default: |
|
Path under which to expose metrics Default: |