prometheus.prometheus.nvidia_gpu_exporter role – Prometheus Nvidia GPU Exporter

Note

This role is part of the prometheus.prometheus collection (version 0.23.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.nvidia_gpu_exporter.

Entry point main – Prometheus Nvidia GPU Exporter

Synopsis

Parameters

Parameter

Comments

nvidia_gpu_exporter_binary_install_dir

string

Advanced

Directory to install nvidia_gpu_exporter binary

Default: "/usr/local/bin"

nvidia_gpu_exporter_binary_url

string

URL of the Nvidia GPU exporter binaries .tar.gz file

Default: "https://github.com/{{ _nvidia_gpu_exporter_repo }}/releases/download/v{{ nvidia_gpu_exporter_version }}/nvidia_gpu_exporter_{{ nvidia_gpu_exporter_version }}_{{ ansible_system | lower }}_{{ _nvidia_gpu_exporter_go_ansible_arch }}.tar.gz"

nvidia_gpu_exporter_checksums_url

string

URL of the Nvidia GPU exporter checksums file

Default: "https://github.com/{{ _nvidia_gpu_exporter_repo }}/releases/download/v{{ nvidia_gpu_exporter_version }}/sha256sums.txt"

nvidia_gpu_exporter_config_dir

string

Path to directory with nvidia_gpu_exporter configuration

Default: "/etc/nvidia_gpu_exporter"

nvidia_gpu_exporter_local_cache_path

string

Local path to stash the archive and its extraction

Default: "/tmp/nvidia_gpu_exporter-{{ ansible_system | lower }}-{{ _nvidia_gpu_exporter_go_ansible_arch }}/{{ nvidia_gpu_exporter_version }}"

nvidia_gpu_exporter_system_group

string

Advanced

System group for Nvidia GPU exporter

Default: "nvidia-gpu-exp"

nvidia_gpu_exporter_system_user

string

Advanced

Nvidia GPU exporter user

Default: "nvidia-gpu-exp"

nvidia_gpu_exporter_version

string

Nvidia GPU exporter package version. Also accepts latest as parameter.

Default: "1.2.1"

nvidia_gpu_exporter_web_listen_address

string

Address on which Nvidia GPU exporter will listen

Default: "0.0.0.0:9835"

nvidia_gpu_exporter_web_telemetry_path

string

Path under which to expose metrics

Default: "/metrics"

Authors

  • Prometheus Community