diff options
author | Viacheslav <v.gletenko@vyos.io> | 2022-01-13 00:58:51 +0000 |
---|---|---|
committer | Viacheslav <v.gletenko@vyos.io> | 2022-01-13 01:03:06 +0000 |
commit | 140adbe8344563d8f907fba6d76d8ce1472236ad (patch) | |
tree | 0d53e15322e938d0ee68ac5ad706e21f1569d946 /data/templates/monitoring/telegraf.tmpl | |
parent | f57eef6751a32d7cfd59485e980855f10e8e1d07 (diff) | |
download | vyos-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/monitoring/telegraf.tmpl')
-rw-r--r-- | data/templates/monitoring/telegraf.tmpl | 1 |
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" |