mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-23 04:13:05 +00:00
e36c398beb
Signed-off-by: prombot <prometheus-team@googlegroups.com>
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.23.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"
|