1、nz-talon 编译打包时,打包 telegraf-1.26.2 (当前最新版本) 2、内置 cpu,mem,disk ,io 等默认监控配置 3、telegraf service 名称: nz-telegraf 4、promtail service 名称改为: nz-promtail 5、nz-talon 更新时确保原有 telegraf 配置不丢失
14 lines
560 B
Plaintext
14 lines
560 B
Plaintext
# 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.
|
|
##
|
|
# ignore_protocol_stats = false
|
|
## |