blob: d1cd7215fb274b50db6bde72c11cb6c01ead59ea [file] [log] [blame]
Mateusz Matuszkowiak73995192018-03-14 14:42:13 +01001{%- from "linux/map.jinja" import monitoring with context %}
Bartosz Kupiduradf9b40d2017-04-10 14:11:52 +02002agent:
3 input:
4 cpu:
Bartosz Kupidurad2c6bc32017-07-28 10:53:11 +02005 percpu: false
Bartosz Kupiduradf9b40d2017-04-10 14:11:52 +02006 totalcpu: true
7 disk:
Bartosz Kupidura3d2af0c2017-07-28 11:53:07 +02008 ignore_fs:
Simon Pasquier0ab8d272017-09-15 12:25:21 +02009 - aufs
Bartosz Kupidura3d2af0c2017-07-28 11:53:07 +020010 - rootfs
11 - sysfs
12 - proc
13 - devtmpfs
14 - devpts
15 - tmpfs
16 - fusectl
17 - cgroup
18 - overlay
Swann Croisetd66a7822017-04-25 10:33:17 +020019 diskio:
Simon Pasquierb1813422017-05-22 14:13:04 +020020 kernel:
21 net:
Bartosz Kupiduradf9b40d2017-04-10 14:11:52 +020022 mem:
Mateusz Matuszkowiakee7c76a2018-07-27 12:28:18 +020023 nstat:
24 fieldpass:
25 - packet_drop
26 - time_squeeze
Simon Pasquierb1813422017-05-22 14:13:04 +020027 processes:
Simon Pasquier9083abf2017-06-15 11:20:10 +020028 swap:
Bartosz Kupiduradf9b40d2017-04-10 14:11:52 +020029 system:
Michal Kobusd40d0f12018-05-08 15:59:55 +020030 procstat:
31 process:
32 sshd:
33 exe: sshd
34 cron:
35 exe: cron
Ramon Melero14ef04f2017-11-07 16:49:24 -060036 linux_sysctl_fs:
Mateusz Matuszkowiak73995192018-03-14 14:42:13 +010037{%- if monitoring.bond_status.interfaces is defined and monitoring.bond_status.interfaces %}
38 bond:
39 template: linux/files/telegraf.conf
40{%- if monitoring.bond_status.interfaces is list %}
41 bond_interfaces: {{ monitoring.bond_status.interfaces }}
42{%- endif %}
43{%- if monitoring.bond_status.host_proc is defined %}
44 host_proc: {{ monitoring.bond_status.host_proc }}
45{%- endif %}
46{%- endif %}