|
|
@@ -1,3 +1,4 @@ |
|
|
|
{%- from "linux/map.jinja" import monitoring with context %} |
|
|
|
agent: |
|
|
|
input: |
|
|
|
cpu: |
|
|
@@ -23,3 +24,13 @@ agent: |
|
|
|
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 %} |