telegraf/plugins/inputs/hddtemp
Sven Rebhan e2578462a5
fix(inputs): Linter issues (#11576)
2022-08-02 13:52:17 +02:00
..
go-hddtemp Linter fixes (unhandled errors) -- Part 1 (#8992) 2021-04-08 11:43:39 -05:00
README.md chore: Embed sample configurations into README for inputs (#11136) 2022-05-24 08:49:47 -05:00
hddtemp.go fix(inputs): Linter issues (#11576) 2022-08-02 13:52:17 +02:00
hddtemp_test.go fix: Linter fixes for plugins/inputs/[a-o]* (leftovers) (#10192) 2021-11-30 15:59:24 -06:00
sample.conf chore(inputs_a-l): migrate sample configs into separate files (#11132) 2022-05-18 11:31:52 -05:00

README.md

HDDtemp Input Plugin

This plugin reads data from hddtemp daemon.

Hddtemp should be installed and its daemon running.

Configuration

# 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

Example output

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