blob: fab100deda87975face97adf9ac171b3d40bd45a [file] [log] [blame]
{%- 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 %}