Monitor CVMFS servers with Telegraf
This role does not install or configure Telegraf core functionality, but is dependent on dj-wasabi.telegraf, which can be used for this purpose.
See defaults/main.yml.
Lists telegraf_cvmfs_check_servers.hosts
and telegraf_cvmfs_check_servers.repos
or telegraf_cvmfs_check_servers.combined
are required if you want the role to do anything.
Although not a hard dependency (since this role runs before it), without dj-wasabi.telegraf, this role will only install the check script and will not configure Telegraf. This role also depends on the restart handler from dj-wasabi.telegraf.
- hosts: all
vars:
telegraf_cvmfs_check_servers:
hosts:
- cvmfs1.example.org
repos:
- repo1.example.org
- repo2.example.org
combined:
- host: cvmfs0.example.org
repos:
- repo1.example.org
roles:
- galaxyproject.telegraf_cvmfs
- dj-wasabi.telegraf
MIT
- Helena Rasche (@hexylena)
- Nate Coraor (@natefoo)