mirror of
https://github.com/roles-ansible/ansible_role_prometheus_ping_exporter.git
synced 2024-08-16 10:19:51 +02:00
|
||
---|---|---|
.github | ||
defaults | ||
handlers | ||
meta | ||
tasks | ||
templates | ||
vars | ||
.gitignore | ||
.yamllint | ||
LICENSE | ||
README.md |
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