summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorViacheslav <v.gletenko@vyos.io>2022-01-13 00:58:51 +0000
committerViacheslav <v.gletenko@vyos.io>2022-01-13 01:03:06 +0000
commit140adbe8344563d8f907fba6d76d8ce1472236ad (patch)
tree0d53e15322e938d0ee68ac5ad706e21f1569d946 /data/templates
parentf57eef6751a32d7cfd59485e980855f10e8e1d07 (diff)
downloadvyos-1x-140adbe8344563d8f907fba6d76d8ce1472236ad.tar.gz
vyos-1x-140adbe8344563d8f907fba6d76d8ce1472236ad.zip
monitoring: T3872: Add just required interfaces for ethtool
Telegraf ethtool input filter expected ethX interfaces and not other interfaces like vlans/tunnels/dummy Add "interface_include" option to telegraf template.
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/monitoring/telegraf.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/templates/monitoring/telegraf.tmpl b/data/templates/monitoring/telegraf.tmpl
index 62fa4df7a..afc04aa6d 100644
--- a/data/templates/monitoring/telegraf.tmpl
+++ b/data/templates/monitoring/telegraf.tmpl
@@ -41,6 +41,7 @@
files = ["ip_conntrack_count","ip_conntrack_max","nf_conntrack_count","nf_conntrack_max"]
dirs = ["/proc/sys/net/ipv4/netfilter","/proc/sys/net/netfilter"]
[[inputs.ethtool]]
+ interface_include = {{ interfaces_ethernet }}
[[inputs.iptables]]
use_sudo = false
table = "filter"