{%- if pillar.glusterfs.server is defined %} | |
{% from "glusterfs/map.jinja" import server, monitoring with context %} | |
{%- if server.get('enabled', False) %} | |
agent: | |
input: | |
glusterfs: | |
template: glusterfs/files/telegraf.conf | |
interval: 60s | |
use_sudo: true | |
{%- endif %} | |
{%- endif %} |