Code Monkey home page Code Monkey logo

blackbox_exporter's Introduction

Role Name

Install Prometheus Blackbox_Exporter from github repository

Requirements

nope

Role Variables

all variables are defined in defaults:

---
# defaults file for blackbox_exporter

prometheus_user: prometheus
prometheus_group: prometheus
prometheus_install_path: '/opt/prometheus'
prometheus_config_path: '/etc/prometheus'
prometheus_pid_path: '/var/run/prometheus'
prometheus_loglevel: 'info'

prometheus_blackbox_exporter_install_path: '{{ prometheus_install_path }}'
prometheus_blackbox_exporter_config_path: '{{ prometheus_config_path }}'
prometheus_blackbox_exporter_pid_path: '{{ prometheus_pid_path }}'
prometheus_blackbox_exporter_user: '{{ prometheus_user }}'
prometheus_blackbox_exporter_group: '{{ prometheus_group }}'
prometheus_blackbox_exporter_loglevel: '{{ prometheus_loglevel }}'
prometheus_blackbox_exporter_listen: '{{ prometheus_blackbox_exporter_listen_ip }}:{{ prometheus_blackbox_exporter_listen_port }}'
prometheus_blackbox_exporter_listen_port: '9115'
prometheus_blackbox_exporter_listen_ip: ''
prometheus_blackbox_exporter_version: '0.14.0'
prometheus_blackbox_exporter_config: 'blackbox.yml'

enable_ufw: false
prometheus_blackbox_exporter_src_access:
  - "{{ ansible_default_ipv4.network }}/{{ ansible_default_ipv4.netmask }}"

For typical deployment you can eventually define enable ufw fw and define src access list Based on defined variables you can set variables common for all prometheus stack

Dependencies

If you want to set fw, you need to have ufw role

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

    - hosts: servers
      roles:
         - role: blackbox_exporter

License

BSD

Author Information

Tomasz Baczynski

blackbox_exporter's People

Contributors

tbaczynski avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.