Skip to content

skale-5/ansible-role-nginx_exporter

 
 

Repository files navigation

ansible-role-nginx_exporter

Installs the NGINX Exporter for Prometheus.

Build Status

Requirements

Requires Ansible role bdellegrazie.ansible-role-prometheus_exporter

Role Variables

Variable Description Default
nginx_exporter_version Version of the exporter to use 0.4.2
nginx_exporter_tarball_checksum checksum of the tarball sha256 checksum of 0.4.2 tarball
nginx_exporter_options Command line options ['-nginx.scrape_uri http://localhost/nginx_stats']

Other variables are in defaults/main.yml

Dependencies

`bdellegrazie.ansible-role-prometheus_exporter`

Example Playbook

- hosts: all
  roles:
    - { role: bdellegrazie.nginx_exporter }

License

GPLv3

Author Information

https://github.com/bdellegrazie/ansible-role-nginx_exporter

About

Ansible role to manage Prometheus exporter for nginx

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 66.8%
  • Jinja 33.2%