prometheus_node_exporter

Role Name

Deploy node exporter.

Requirements

Ansible 2.9+.

Role Variables

Name Required Description
prometheus_node_exporter_version yes Node exporter package version. Can be found here
prometheus_node_exporter_checksum yes Checksum of the package. Can be found here
prometheus_node_exporter_architecture yes CPU architecture of the package. Defaults to amd64
prometheus_node_exporter_listen_addresses yes List of addresses on which node exporter will listen (at least one is required)
prometheus_node_exporter_enabled_collectors no List of additionally enabled collectors. It adds collectors to those enabled by default
prometheus_node_exporter_disabled_collectors no List of disabled collectors. By default node_exporter disables collectors listed here
prometheus_node_exporter_memory_limit no Memory limit for the systemd service. Defaults to 32M
prometheus_node_exporter_limit_nofile no LimitNOFILE for the systemd service. Defaults to 4096
prometheus_node_exporter_limit_nproc no LimitNPROC for the systemd service. Defaults to 512
prometheus_node_exporter_service_extra_after no Appends to the After= property of the service. Useful to make sure your VPN is up if you need to listen on its interface
prometheus_node_exporter_service_extra_wants no Appends to the Wants= property of the service. Useful to make sure your VPN is up if you need to listen on its interface

Example

- hosts: servers
  roles:
     - vrischmann.prometheus-node-exporter

License

MIT

About

Install prometheus-node-exporter

Install
ansible-galaxy install vrischmann/ansible-prometheus-node-exporter
GitHub repository
License
mit
Downloads
128
Owner
Still learning