kolla-ansible/ansible/roles/telegraf/templates/telegraf.json.j2
Mathias Ewald 56af4ef202 Added telegraf role
Added ansible role to deploy telegraf

Roll out telegraf to all nodes

Introduce parameter to toggle deployment of performance monitoring

Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>

Change-Id: Ia09b20ce65bf557c1a1030eda99df5cc88debd01
Partially-Implements: Blueprint performance-monitoring
2016-09-14 15:43:04 +00:00

18 lines
539 B
Django/Jinja

{
"command": "telegraf -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf.d/",
"config_files": [
{
"source": "{{ container_config_directory }}/telegraf.conf",
"dest": "/etc/telegraf/telegraf.conf",
"owner": "telegraf",
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/config/*",
"dest": "/etc/telegraf/telegraf.d/",
"owner": "telegraf",
"perm": "0600"
}
]
}