8000 GitHub - angristan/ansible-telegraf: Ansible role for Telegraf
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

angristan/ansible-telegraf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible role for Telegraf

This is a simple role that will install Telegraf from the InfluxDB APT repo and configure it.

All the configuration is done with the telegraf.conf.j2 template.

It's partly reusable for now, it's WIP.

Sample playbook

---

- hosts: myhost
  roles:
    - name: telegraf
      tags: telegraf
  vars:
    telegraf_output_type: influxdb
    telegraf_output_host: "{{ influxdb_host }}"
    telegraf_output_database: telegraf
    telegraf_output_username: telegraf
    telegraf_output_password: "{{ vault_telegraf_output_password }}"
    telegraf_cpu_enabled: true
    telegraf_mem_enabled: true
    telegraf_dns_query_enabled: true
    telegraf_dns_query_servers:
      - 127.0.0.1
      - 1.1.1.1
      - 8.8.8.8

About

Ansible role for Telegraf

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0