1
0
Fork 0
telegraf/plugins/inputs/net/sample.conf

16 lines
741 B
Text
Raw Permalink Normal View History

# 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