telegraf/plugins/inputs/hddtemp
Sebastian Spaink 3af16aa885
Support Go version 1.16 (#8882)
* Support 1.16

* Use 1.16 in mod file

* update go.sum

* update go.mod after updating to 1.16 locally

* Fix go vet

* Remove exit

* Use require.NoError

* Only run tidy explicitly in "dep" job

* install 1.16 for go

* typo

* update xcode

* specific version not working

* Get 1.16 go formula

* Change brew call

* brew update

* typo

* Resolve go.sum conflict

* go mod tidy
2021-03-08 16:29:11 -06:00
..
go-hddtemp Support Go version 1.16 (#8882) 2021-03-08 16:29:11 -06:00
README.md Add source tag to hddtemp plugin (#5955) 2019-06-05 12:47:17 -07:00
hddtemp.go Revive fixes - part 2 (#8835) 2021-02-16 18:19:50 -05:00
hddtemp_test.go Add source tag to hddtemp plugin (#5955) 2019-06-05 12:47:17 -07:00

README.md

HDDtemp Input Plugin

This plugin reads data from hddtemp daemon.

Hddtemp should be installed and its daemon running.

Configuration

[[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