prometheus.prometheus.snmp_exporter role – Prometheus SNMP exporter

Note

This role is part of the prometheus.prometheus collection (version 0.5.1).

To install it use: ansible-galaxy collection install prometheus.prometheus.

To use it in a playbook, specify: prometheus.prometheus.snmp_exporter.

Entry point main – Prometheus SNMP exporter

Synopsis

Parameters

Parameter

Comments

snmp_exporter_binary_url

string

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

string

URL of the snmp exporter checksums file

Default: "https://github.com/{{ _snmp_exporter_repo }}/releases/download/v{{ snmp_exporter_version }}/sha256sums.txt"

snmp_exporter_config_file

string

If this is empty, role will download snmp.yml file from https://github.com/prometheus/snmp_exporter.

Otherwise this should contain path to file with custom snmp exporter configuration

snmp_exporter_log_level

string

SNMP exporter service log level

Default: "info"

snmp_exporter_skip_install

boolean

SNMP exporter installation tasks gets skipped when set to true.

Choices:

  • false ← (default)

  • true

snmp_exporter_version

string

SNMP exporter package version

Default: "0.19.0"

snmp_exporter_web_listen_address

string

Address on which SNMP exporter will be listening

Default: "0.0.0.0:9116"

Authors

  • Prometheus Community