Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
40
plugins/inputs/ethtool/sample.conf
Normal file
40
plugins/inputs/ethtool/sample.conf
Normal file
|
@ -0,0 +1,40 @@
|
|||
# Returns ethtool statistics for given interfaces
|
||||
# This plugin ONLY supports Linux
|
||||
[[inputs.ethtool]]
|
||||
## List of interfaces to pull metrics for
|
||||
# interface_include = ["eth0"]
|
||||
|
||||
## List of interfaces to ignore when pulling metrics.
|
||||
# interface_exclude = ["eth1"]
|
||||
|
||||
## Plugin behavior for downed interfaces
|
||||
## Available choices:
|
||||
## - expose: collect & report metrics for down interfaces
|
||||
## - skip: ignore interfaces that are marked down
|
||||
# down_interfaces = "expose"
|
||||
|
||||
## Reading statistics from interfaces in additional namespaces is also
|
||||
## supported, so long as the namespaces are named (have a symlink in
|
||||
## /var/run/netns). The telegraf process will also need the CAP_SYS_ADMIN
|
||||
## permission.
|
||||
## By default, only the current namespace will be used. For additional
|
||||
## namespace support, at least one of `namespace_include` and
|
||||
## `namespace_exclude` must be provided.
|
||||
## To include all namespaces, set `namespace_include` to `["*"]`.
|
||||
## The initial namespace (if anonymous) can be specified with the empty
|
||||
## string ("").
|
||||
|
||||
## List of namespaces to pull metrics for
|
||||
# namespace_include = []
|
||||
|
||||
## List of namespace to ignore when pulling metrics.
|
||||
# namespace_exclude = []
|
||||
|
||||
## Some drivers declare statistics with extra whitespace, different spacing,
|
||||
## and mix cases. This list, when enabled, can be used to clean the keys.
|
||||
## Here are the current possible normalizations:
|
||||
## * snakecase: converts fooBarBaz to foo_bar_baz
|
||||
## * trim: removes leading and trailing whitespace
|
||||
## * lower: changes all capitalized letters to lowercase
|
||||
## * underscore: replaces spaces with underscores
|
||||
# normalize_keys = ["snakecase", "trim", "lower", "underscore"]
|
Loading…
Add table
Add a link
Reference in a new issue