telegraf

Ansible Role Telegraf

Build Status

Fully configurable Telegraf installation and management.
By default, it will be installed using your Operating System package system but you can specify the version you want.

THE “T” IN THE TICK STACK Telegraf is an open source agent written in Go for collecting metrics and data on the system it's running on or from other services. Telegraf writes data it collects to InfluxDB in the correct format.

From https://influxdata.com/time-series-platform/telegraf/

Supported platforms

Table generated with juliendufresne/test-ansible-roles

Distribution Last check date From scratch Idempotency
Debian 8.4 (jessie) 2016-07-16 20:28:00 OK OK
CentOS 6.8 (Final) 2016-07-16 20:17:06 OK OK
CentOS 7.2.1511 (Core) 2016-07-16 20:21:02 OK OK
Debian 7.9 (wheezy) 2016-07-16 17:20:59 OK OK
Debian 7.10 (wheezy) 2016-07-16 20:24:30 OK OK
Debian 8.2 (jessie) 2016-07-16 17:30:40 OK OK
Debian 8.3 (jessie) 2016-07-16 17:34:20 OK OK
Ubuntu 12.04 (precise) 2016-07-16 20:31:10 OK OK
Ubuntu 14.04 (trusty) 2016-07-16 21:06:32 FAIL FAIL
Ubuntu 15.04 (vivid) 2016-07-16 20:37:11 OK OK
Ubuntu 15.10 (wily) 2016-07-16 20:40:31 OK OK
Ubuntu 16.04 (xenial) 2016-07-16 20:43:57 OK OK

Note: Ubuntu 14.04 currently is failing because it cannot download the package.

  • From scratch represents the results when you run your ansible playbook on a clean distribution
  • Idempotency represents the second run of your ansible playbook. It should not contains any changes tasks

Requirements

Ansible version
This role requires ansible 2.1.0+ (apt_repository use filename)

Jinja2 version
Works with version 2.8+
Requires equalto filter.

Python version
If you use the packaged telegraf version, it should work with the packaged python version.

Specifying a custom telegraf version requires SSL certificate verification.
Hence, you will either need python version 2.7.9+ or install urllib3 pyopenssl ndg-httpsclient pyasn1 python modules.

Role Variables

For a full list of all variables, please see the file called variables.md.

Dependencies

None.

Example Playbook

- hosts: servers
  roles:
     - { role: juliendufresne.telegraf }

License

MIT

Author Information

This role was created in 2016 by Julien Dufresne.

About

Fully configurable Telegraf installation and management for versions 0.13+.

Install
ansible-galaxy install juliendufresne/ansible-role-telegraf
GitHub repository
License
mit
Downloads
30
Owner
Software Architect