Skip to content
Snippets Groups Projects
Commit 0c0112f5 authored by Jafar Lie's avatar Jafar Lie
Browse files

Merge branch 'telegraf-1.15' into 'master'

Update telegraf config to ignore more ethX interfaces in ethtool plugin

See merge request !389
parents f6671c09 1f41f230
No related branches found
No related tags found
1 merge request!389Update telegraf config to ignore more ethX interfaces in ethtool plugin
......@@ -71,6 +71,20 @@
tags:
- configuration
- name: Install ethtool plugin for mlx interfaces
template:
src: inputs.ethtool.conf.j2
dest: /etc/telegraf/telegraf.d/inputs.ethtool.conf
owner: telegraf
group: telegraf
mode: '640'
notify:
- "restart telegraf"
become: true
become_user: root
tags:
- configuration
- name: Install multifile plugin for mlx hw_counters
template:
src: inputs.multifile_mlx.conf.j2
......
# Returns ethtool statistics for given interfaces
[[inputs.ethtool]]
interval = "60s"
# List of interfaces to pull metrics for
# interface_include = ["mlx0", "p1p1"]
# List of interfaces to ignore when pulling metrics.
interface_exclude = ["eth0", "eth00", "eth1", "eth2", "lo", "virbr0", "virbr0-nic"]
\ No newline at end of file
......@@ -119,15 +119,6 @@
# Uncomment the following line if you do not need disk serial numbers.
# skip_serial_number = true
# Returns ethtool statistics for given interfaces
[[inputs.ethtool]]
interval = "60s"
# List of interfaces to pull metrics for
# interface_include = ["mlx0", "p1p1"]
# List of interfaces to ignore when pulling metrics.
interface_exclude = ["eth0", "eth1", "lo", "virbr0", "virbr0-nic"]
# Read metrics about the number of files in /home
[[inputs.filecount]]
directories = ["/home"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment