Skip to content

ait-testbed/atb-ansible-collectd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible-Role: collectd

Installs and configures collectd.

Requirements

  • Debian or Ubuntu

Role Variables

collectd_bin: collectd
collectd_default_config: collectd.conf.j2
collectd_logfile: True
collectd_config:
        - { name: "write",
            content:|
             LoadPlugin write_log
             <Plugin write_log>
               Format Graphite
             </Plugin>
          }

Example Playbook

- hosts: localhost
  roles:
          - collectd
  vars:
      collectd_config:
        - { name: "write",
            content:|
             LoadPlugin write_log
             <Plugin write_log>
               Format Graphite
             </Plugin>
          }

License

GPL-3.0

Author

  • Wolfgang Hotwagner