HDDtemp 输入插件
此插件从 hddtemp 守护进程读取数据。
此插件要求安装并运行 hddtemp 作为守护进程。
由于上游项目不再积极维护,并且各种发行版(例如 Debian Bookworm 及更高版本)不再提供 hddtemp 的软件包,因此该二进制文件可能不再可用(例如,在 Ubuntu 22.04 或更高版本中)。
引入版本: Telegraf v1.0.0 标签: hardware, system 操作系统支持: all
全局配置选项
插件支持其他全局和插件配置设置,用于修改指标、标签和字段,创建别名以及配置插件顺序等任务。更多详情请参阅 CONFIGURATION.md。
配置
# Monitor disks' temperatures using hddtemp
[[inputs.hddtemp]]
## By default, telegraf gathers temps data from all disks detected by the
## hddtemp.
##
## Only collect temps from the selected disks.
##
## A * as the device name will return the temperature values of all disks.
##
# address = "127.0.0.1:7634"
# devices = ["sda", "*"]Metrics
- hddtemp
- 标签 (tags)
- device
- model
- unit
- status
- source
- 字段 (fields)
- temperature
- 标签 (tags)
示例输出
hddtemp,source=server1,unit=C,status=,device=sdb,model=WDC\ WD740GD-00FLA1 temperature=43i 1481655647000000000
hddtemp,device=sdc,model=SAMSUNG\ HD103UI,unit=C,source=server1,status= temperature=38i 148165564700000000
hddtemp,device=sdd,model=SAMSUNG\ HD103UI,unit=C,source=server1,status= temperature=36i 1481655647000000000此页面是否有帮助?
感谢您的反馈!
支持和反馈
感谢您成为我们社区的一员!我们欢迎并鼓励您对 Telegraf 和本文档提出反馈和 bug 报告。要获取支持,请使用以下资源
具有年度合同或支持合同的客户可以 联系 InfluxData 支持。