prometheus.prometheus.systemd_exporter role – Prometheus Systemd Exporter
Note
This role is part of the prometheus.prometheus collection (version 0.8.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.systemd_exporter
.
Entry point main
– Prometheus Systemd Exporter
Synopsis
Deploy prometheus systemd exporter using ansible.
Parameters
Parameter |
Comments |
---|---|
Advanced Directory to install systemd_exporter binary Default: |
|
Allows to use local packages instead of ones distributed on github. As parameter it takes a directory where This overrides systemd_exporter_version parameter |
|
URL of the systemd exporter binaries .tar.gz file” Default: |
|
URL of the systemd exporter checksums file Default: |
|
Enables file descriptor size metrics. This feature will cause exporter to run as root as it needs access to /proc/X/fd” Choices:
|
|
Enables service ip accounting metrics. This feature only works with systemd 235 and above” Choices:
|
|
Enables service restart count metrics. This feature only works with systemd 235 and above” Choices:
|
|
Only log messages with the given severity or above. |
|
SystemD exporter installation tasks gets skipped when set to true. Choices:
|
|
Advanced System group for systemd exporter Default: |
|
Advanced Systemd exporter user Default: |
|
Configuration for TLS authentication. Keys and values are the same as in Prometheus docs. |
|
Exclude some systemd units. Expects a regex. More in systemd_exporter docs. |
|
Include some systemd units. Expects a regex. More in systemd_exporter docs. |
|
SystemD exporter package version. Also accepts latest as parameter. Default: |
|
Address on which systemd exporter will listen” Default: |