telegraf/plugins/inputs/hddtemp/README.md

42 lines
943 B
Markdown
Raw Permalink Normal View History

# HDDtemp Input Plugin
This plugin reads data from hddtemp daemon.
Hddtemp should be installed and its daemon running.
### Configuration
```toml
[[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
```