prometheus.prometheus.snmp_exporter role – Prometheus SNMP exporter
Note
This role is part of the prometheus.prometheus collection (version 0.7.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.snmp_exporter
.
Entry point main
– Prometheus SNMP exporter
Synopsis
Deploy and manage prometheus SNMP exporter using ansible.
Parameters
Parameter |
Comments |
---|---|
Advanced Directory to install snmp_exporter binary Default: |
|
Enables the use of local packages instead of those distributed on github. The parameter masnmp set to a directory where the This overrides the snmp_exporter_version parameter |
|
URL of the snmp exporter binaries .tar.gz file Default: |
|
URL of the snmp exporter checksums file Default: |
|
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 service log level Default: |
|
SNMP exporter installation tasks gets skipped when set to true. Choices:
|
|
SNMP exporter package version. Also accepts latest as parameter. Default: |
|
Address on which SNMP exporter will be listening Default: |