telegraf/plugins/inputs/hddtemp
Jonas Falck b4f9bc8745 Change hddtemp to always put temperature in temperature field (#1905)
Added unit tests for the changes

Fixes #1904
2016-12-13 19:40:55 +00:00
..
go-hddtemp Change hddtemp to always put temperature in temperature field (#1905) 2016-12-13 19:40:55 +00:00
README.md Change hddtemp to always put temperature in temperature field (#1905) 2016-12-13 19:40:55 +00:00
hddtemp.go Change hddtemp to always put temperature in temperature field (#1905) 2016-12-13 19:40:55 +00:00
hddtemp_nocompile.go Implement support for fetching hddtemp data (#1411) 2016-07-21 17:00:54 +01:00
hddtemp_test.go Change hddtemp to always put temperature in temperature field (#1905) 2016-12-13 19:40:55 +00:00

README.md

Hddtemp Input Plugin

This plugin reads data from hddtemp daemon

Requirements

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

Measurements

  • hddtemp
    • temperature

Tags:

  • device
  • model
  • unit
  • status

Example output

> hddtemp,unit=C,status=,host=server1,device=sdb,model=WDC\ WD740GD-00FLA1 temperature=43i 1481655647000000000
> hddtemp,device=sdc,model=SAMSUNG\ HD103UI,unit=C,status=,host=server1 temperature=38i 148165564700000000
> hddtemp,device=sdd,model=SAMSUNG\ HD103UI,unit=C,status=,host=server1 temperature=36i 1481655647000000000