prometheus.prometheus.fail2ban_exporter role – Prometheus fail2ban_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.fail2ban_exporter.

Entry point main – Prometheus fail2ban_exporter

Synopsis

Parameters

Parameter

Comments

fail2ban_exporter_binary_install_dir

string

Advanced

Directory to install fail2ban_exporter binary

Default: "/usr/local/bin"

fail2ban_exporter_binary_url

string

URL of the fail2ban_exporter binaries .tar.gz file

Default: "https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/releases/v{{ fail2ban_exporter_version }}/downloads/fail2ban_exporter_{{ fail2ban_exporter_version }}_{{ ansible_system | lower }}_{{ _fail2ban_exporter_go_ansible_arch }}.tar.gz"

fail2ban_exporter_checksums_url

string

URL of the fail2ban_exporter checksums file

Default: "https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/releases/v{{ fail2ban_exporter_version }}/downloads/fail2ban_exporter_{{ fail2ban_exporter_version }}_checksums.txt"

fail2ban_exporter_local_cache_path

string

Local path to stash the archive and its extraction

Default: "/tmp/fail2ban_exporter-{{ ansible_system | lower }}-{{ _fail2ban_exporter_go_ansible_arch }}/{{ fail2ban_exporter_version }}"

fail2ban_exporter_password

string

Advanced

Password to use to protect endpoints with basic auth

fail2ban_exporter_socket

string

Path to the fail2ban server socket

Default: "/var/run/fail2ban/fail2ban.sock"

fail2ban_exporter_system_group

string

Advanced

System group for fail2ban exporter

Default: "root"

fail2ban_exporter_system_user

string

Advanced

fail2ban exporter system user

Default: "root"

fail2ban_exporter_username

string

Advanced

Username to use to protect endpoints with basic auth

fail2ban_exporter_version

string

fail2ban_exporter package version. Also accepts latest as parameter.

Default: "0.10.1"

fail2ban_exporter_web_listen_address

string

Address on which fail2ban exporter will listen

Default: "0.0.0.0:9191"

Authors

  • Prometheus Community