|
|
|
|
|
|
|
|
|
|
|
{%- from "linux/map.jinja" import monitoring with context %} |
|
|
agent: |
|
|
agent: |
|
|
input: |
|
|
input: |
|
|
cpu: |
|
|
cpu: |
|
|
|
|
|
|
|
|
swap: |
|
|
swap: |
|
|
system: |
|
|
system: |
|
|
linux_sysctl_fs: |
|
|
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 %} |