Skip to content

nahsi/ansible-node-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node_exporter

Install, configure and maintain node_exporter

Role Philosophy

Please see ansible-consul.

Role Variables

See defaults/ for details and examples.

node_exporter_version

  • version to use

node_exporter_dirs

  • a map of directories to create
  • default:
node_exporter_dir: "/opt/node-exporter"
node_exporter_dirs:
  main:
    path: "{{ node_exporter_dir }}"
  certs:
    path: "{{ node_exporter_dir }}/certs"
  textfile:
    path: "{{ node_exporter_dir }}/textfile"
  logs:
    path: "/var/log/node-exporter"

node_exporter_enabled_collectors

node_exporter_enabled_collectors:
  - textfile:
      directory: "{{ node_exporter_dirs.textfile.path }}"

node_exporter_disabled_collectors

node_exporter_web_listen_address

  • default: :9100

node_exporter_web_telemetry_path

  • default: /metrics

node_exporter_user

  • owner of node_exporter process and files
  • default: node-exporter

node_exporter_group

  • group of node_exporter_user
  • default: node-exporter

node_exporter_service

node_exporter_unitfile

skip_handlers

  • skip restart/reload - useful when building images with Packer
  • default: false

Tags

  • config - update node-exporter unit/service and config file

Author

  • Anatoly Laskaris - nahsi

About

Ansible role for node_exporter

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages