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 配置不丢失
16 lines
595 B
Plaintext
16 lines
595 B
Plaintext
# Gather systemd units state
|
|
[[inputs.systemd_units]]
|
|
## Set timeout for systemctl execution
|
|
# timeout = "1s"
|
|
#
|
|
## Filter for a specific unit type, default is "service", other possible
|
|
## values are "socket", "target", "device", "mount", "automount", "swap",
|
|
## "timer", "path", "slice" and "scope ":
|
|
# unittype = "service"
|
|
#
|
|
## Filter for a specific pattern, default is "" (i.e. all), other possible
|
|
## values are valid pattern for systemctl, e.g. "a*" for all units with
|
|
## names starting with "a"
|
|
# pattern = ""
|
|
## pattern = "telegraf* influxdb*"
|
|
## pattern = "a*" |