{%- from "linux/map.jinja" import monitoring with context %} agent: input: cpu: percpu: false totalcpu: true disk: ignore_fs: - aufs - rootfs - sysfs - proc - devtmpfs - devpts - tmpfs - fusectl - cgroup - overlay diskio: kernel: net: mem: processes: swap: system: linux_sysctl_fs: {%- if monitoring.bond_status.interfaces is defined and monitoring.bond_status.interfaces %} bond: template: linux/files/telegraf.conf {%- if monitoring.bond_status.interfaces is list %} bond_interfaces: {{ monitoring.bond_status.interfaces }} {%- endif %} {%- if monitoring.bond_status.host_proc is defined %} host_proc: {{ monitoring.bond_status.host_proc }} {%- endif %} {%- endif %}