15 lines
741 B
Text
15 lines
741 B
Text
# Gather metrics about network interfaces
|
|
[[inputs.net]]
|
|
## By default, telegraf gathers stats from any up interface (excluding loopback)
|
|
## Setting interfaces will tell it to gather these explicit interfaces,
|
|
## regardless of status. When specifying an interface, glob-style
|
|
## patterns are also supported.
|
|
# interfaces = ["eth*", "enp0s[0-1]", "lo"]
|
|
|
|
## On linux systems telegraf also collects protocol stats.
|
|
## Setting ignore_protocol_stats to true will skip reporting of protocol metrics.
|
|
##
|
|
## DEPRECATION NOTICE: A value of 'false' is deprecated and discouraged!
|
|
## Please set this to `true` and use the 'inputs.nstat'
|
|
## plugin instead.
|
|
# ignore_protocol_stats = false
|