This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
nezha-nz-talon/tools/telegraf.d/systemd_units.conf
shizhendong 55e9084a46 feat: NEZ-2138 nz-talon 打包 telegraf 开源组件
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 配置不丢失
2023-04-26 15:08:13 +08:00

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*"