diff --git a/roles/telegraf/templates/telegraf.conf.j2 b/roles/telegraf/templates/telegraf.conf.j2 index 0605499d0312df74faa9309cc43adc172fb93f43..3020961541b9d89fd183fb45d81b4aaeffcc8745 100644 --- a/roles/telegraf/templates/telegraf.conf.j2 +++ b/roles/telegraf/templates/telegraf.conf.j2 @@ -119,6 +119,15 @@ # 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"] + # Read metrics about the number of files in /home [[inputs.filecount]] directories = ["/home"]