From 57ca8a7af6af5f11fe3d770359d3172cfc34a424 Mon Sep 17 00:00:00 2001
From: Kerri Wait <kerri.wait@monash.edu>
Date: Thu, 8 Oct 2020 11:35:00 +1100
Subject: [PATCH] Update telegraf ethtool to exclude eth2 and eth00 interfaces

---
 roles/telegraf/templates/telegraf.conf.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roles/telegraf/templates/telegraf.conf.j2 b/roles/telegraf/templates/telegraf.conf.j2
index 78a8d520..dad6f453 100644
--- a/roles/telegraf/templates/telegraf.conf.j2
+++ b/roles/telegraf/templates/telegraf.conf.j2
@@ -126,7 +126,7 @@
   # interface_include = ["mlx0", "p1p1"]
 
   # List of interfaces to ignore when pulling metrics.
-  interface_exclude = ["eth0", "eth1", "lo", "virbr0", "virbr0-nic"]
+  interface_exclude = ["eth0", "eth00", "eth1", "eth2", "lo", "virbr0", "virbr0-nic"]
 
 # Read metrics about the number of files in /home
 [[inputs.filecount]]
-- 
GitLab