prometheus.prometheus.smartctl_exporter role – Prometheus Smartctl Exporter
Note
This role is part of the prometheus.prometheus collection (version 0.22.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.smartctl_exporter
.
Entry point main
– Prometheus Smartctl Exporter
Synopsis
Deploy prometheus smartctl exporter using ansible
Parameters
Parameter |
Comments |
---|---|
Dictionary of users and password for basic authentication. Passwords are automatically hashed with bcrypt. |
|
Advanced Directory to install smartctl_exporter binary Default: |
|
URL of the Smartctl exporter binaries .tar.gz file Default: |
|
URL of the Smartctl exporter checksums file Default: |
|
Path to directory with smartctl_exporter configuration Default: |
|
Config for HTTP/2 support. Keys and values are the same as in smartctl_exporter docs. |
|
Local path to stash the archive and its extraction Default: |
|
Output format of log messages. One of: [logfmt, json] Default: |
|
Only log messages with the given severity or above. One of: [debug, info, warn, error] Default: |
|
Regexp of devices to exclude from automatic scanning. (mutually exclusive to smartctl_exporter_smartctl_device_include) Default: |
|
Regexp of devices to include in automatic scanning. (mutually exclusive to smartctl_exporter_smartctl_device_exclude) Default: |
|
List of devices to be monitored by smartctl_exporter. Disables auto scan for available devices. |
|
The interval between smartctl polls Default: |
|
Advanced The path to the smartctl binary Default: |
|
The interval between rescanning for new/disappeared devices. If the interval is smaller than 1s norescanning takes place. If any devices are configured with smartctl_exporter_smartctl_device also no rescanning takes place. Default: |
|
Advanced System group for Smartctl exporter Default: |
|
Advanced Smartctl exporter user Default: |
|
Configuration for TLS authentication. Keys and values are the same as in smartctl_exporter docs. |
|
Smartctl exporter package version. Also accepts latest as parameter. Default: |
|
Address on which smartctl exporter will listen Default: |
|
Path under which to expose metrics Default: |