kevincoakley.prometheus_node_exporter

ansible-role-prometheus-node-exporter

This role installs the Prometheus Node Exporter from https://github.com/prometheus/node_exporter. It's been tested on EL 7, EL 8, EL 9, Ubuntu 18.04, Ubuntu 20.04, and Ubuntu 22.04.

Requirements

None

Role Variables

Check defaults/main.yml. This role can use all collectors; just list the ones you want to enable using the prometheus_node_exporter_enabled_collectors variable.

Dependencies

None

Example Playbook

- name: The Prometheus Node Exporter role
  hosts: node-exporter
  become: yes
  become_method: sudo

  vars:
    prometheus_node_exporter_enabled_collectors:
      - logind
    prometheus_node_exporter_disabled_collectors:
      - netstat

  roles:
    - ansible-role-prometheus-node-exporter

  tags:
    - node-exporter

License

This project is licensed under BSD.

Author Information

Kevin Coakley (https://github.com/kevincoakley)

Informazioni sul progetto

Install Prometheus Node Exporter

Installa
ansible-galaxy install kevincoakley.prometheus_node_exporter
Licenza
Unknown
Download
5.3k
Proprietario