•  


GitHub - yunustzr/ansible-blackbox-exporter: Blackbox prober exporter
Skip to content

yunustzr/ansible-blackbox-exporter

 
 

Repository files navigation

blackbox logo

Ansible Role: Blackbox Exporter

Build Status License Ansible Role GitHub tag

Description

Deploy and manage blackbox exporter which allows blackbox probing of endpoints over HTTP, HTTPS, DNS, TCP and ICMP.

Requirements

  • Ansible >= 2.7 (It might work on previous versions, but we cannot guarantee it)
  • gnu-tar on Mac deployer host ( brew install gnu-tar )

Role Variables

All variables which can be overridden are stored in defaults/main.yml file as well as in table below.

Name Default Value Description
blackbox_exporter_version 0.16.0 Blackbox exporter package version
blackbox_exporter_web_listen_address 0.0.0.0:9115 Address on which blackbox exporter will be listening
blackbox_exporter_cli_flags {} Additional configuration flags passed to blackbox exporter binary at startup
blackbox_exporter_configuration_modules http_2xx: { prober: http, timeout: 5s, http: '' }

Example

Playbook

- 
hosts
: 
all

  become
: 
true

  roles
:
    - 
cloudalchemy.blackbox-exporter

Demo site

We provide demo site for full monitoring solution based on prometheus and grafana. Repository with code and links to running instances is available on github and site is hosted on DigitalOcean .

Local Testing

The preferred way of locally testing the role is to use Docker and molecule (v2.x). You will have to install Docker on your system. See "Get started" for a Docker package suitable to for your system. We are using tox to simplify process of testing on multiple ansible versions. To install tox execute:

pip3 install tox

To run tests on all ansible versions (WARNING: this can take some time)

tox

To run a custom molecule command on custom environment with only default test scenario:

tox -e py35-ansible28 -- molecule 
test
 -s default

For more information about molecule go to their docs .

If you would like to run tests on remote docker host just specify DOCKER_HOST variable before running tox tests.

Travis CI

Combining molecule and travis CI allows us to test how new PRs will behave when used with multiple ansible versions and multiple operating systems. This also allows use to create test scenarios for different role configurations. As a result we have a quite large test matrix which will take more time than local testing, so please be patient.

Contributing

See contributor guideline .

License

This project is licensed under MIT License. See LICENSE for more details.

About

Blackbox prober exporter

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 70.4%
  • Python 29.6%
- "漢字路" 한글한자자동변환 서비스는 교육부 고전문헌국역지원사업의 지원으로 구축되었습니다.
- "漢字路" 한글한자자동변환 서비스는 전통문화연구회 "울산대학교한국어처리연구실 옥철영(IT융합전공)교수팀"에서 개발한 한글한자자동변환기를 바탕하여 지속적으로 공동 연구 개발하고 있는 서비스입니다.
- 현재 고유명사(인명, 지명등)을 비롯한 여러 변환오류가 있으며 이를 해결하고자 많은 연구 개발을 진행하고자 하고 있습니다. 이를 인지하시고 다른 곳에서 인용시 한자 변환 결과를 한번 더 검토하시고 사용해 주시기 바랍니다.
- 변환오류 및 건의,문의사항은 juntong@juntong.or.kr로 메일로 보내주시면 감사하겠습니다. .
Copyright ⓒ 2020 By '전통문화연구회(傳統文化硏究會)' All Rights reserved.
 한국   대만   중국   일본