mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-29 15:20:17 +00:00
6dc879d5f5
This is similar to prometheus_skip_install variable and does what the name says: when set, it won't try to re-download the snmp exporter binary Signed-off-by: Christian Brabandt <cb@256bit.org>
33 lines
1.6 KiB
YAML
33 lines
1.6 KiB
YAML
---
|
|
# yamllint disable rule:line-length
|
|
argument_specs:
|
|
main:
|
|
short_description: "Prometheus SNMP exporter"
|
|
description:
|
|
- "Deploy and manage prometheus L(SNMP exporter,https://github.com/prometheus/snmp_exporter) using ansible."
|
|
author:
|
|
- "Prometheus Community"
|
|
options:
|
|
snmp_exporter_version:
|
|
description: "SNMP exporter package version"
|
|
default: "0.19.0"
|
|
snmp_exporter_skip_install:
|
|
description: "SNMP exporter installation tasks gets skipped when set to true."
|
|
type: bool
|
|
default: false
|
|
snmp_exporter_binary_url:
|
|
description: "URL of the snmp exporter binaries .tar.gz file"
|
|
default: "https://github.com/{{ _snmp_exporter_repo }}/releases/download/v{{ snmp_exporter_version }}/snmp_exporter-{{ snmp_exporter_version }}.linux-{{ go_arch_map[ansible_architecture] | default(ansible_architecture) }}.tar.gz"
|
|
snmp_exporter_checksums_url:
|
|
description: "URL of the snmp exporter checksums file"
|
|
default: "https://github.com/{{ _snmp_exporter_repo }}/releases/download/v{{ snmp_exporter_version }}/sha256sums.txt"
|
|
snmp_exporter_web_listen_address:
|
|
description: "Address on which SNMP exporter will be listening"
|
|
default: "0.0.0.0:9116"
|
|
snmp_exporter_log_level:
|
|
description: "SNMP exporter service log level"
|
|
default: info
|
|
snmp_exporter_config_file:
|
|
description:
|
|
- "If this is empty, role will download snmp.yml file from U(https://github.com/prometheus/snmp_exporter)."
|
|
- "Otherwise this should contain path to file with custom snmp exporter configuration"
|