1
0
Fork 0
Find a file
2022-11-26 13:56:52 +01:00
.github improve docs and meta info 2022-11-23 18:18:12 +01:00
defaults filename as variable 2022-11-26 13:55:59 +01:00
handlers improve systemd workflow 2022-11-22 17:43:34 +01:00
meta improve docs and meta info 2022-11-23 18:18:12 +01:00
tasks Make sure targets are defines 2022-11-23 17:02:49 +01:00
templates improve docs and meta info 2022-11-23 18:18:12 +01:00
vars filename as variable 2022-11-26 13:55:59 +01:00
.gitignore Initial commit 2022-11-21 16:15:45 +01:00
.yamllint Initial commit 2022-11-21 16:15:45 +01:00
LICENSE Initial commit 2022-11-21 16:15:45 +01:00
README.md filename as variable 2022-11-26 13:55:59 +01:00

License Galaxy

Ansible role prometheus ping exporter

Ansible role to install the prometheus node exporter from github.com/czerwonk/ping_exporter

Some variables

value default
ping_exporter__user ping_exporter
ping_exporter__group ping_exporter
ping_exporter__user_home /var/lib/ping_exporter
ping_exporter__shell /bin/false
ping_exporter__version latest
ping_exporter__targets []
ping_exporter__nameserver 9.9.9.9
ping_exporter__web_listen_address :9427
ping_exporter__filename see defaults/main.yml
submodules_versioncheck false

Please define all your targets in the ping_exporter__targets array.

Example Playbook

---
- name: Install ping exporter at example.com
  hosts: example.com
  roles:
    - {role: do1jlr.prometheus_ping_exporter, tags: etebase}
  vars:
    ping_exporter__targets:
      - host1.example.com
      - host2.example.com
      - ccc.de