telegraf/plugins/inputs/temp
pytimer 25f9cc0b8d Add temp input plugin (#4411) 2018-09-10 11:52:15 -07:00
..
README.md Add temp input plugin (#4411) 2018-09-10 11:52:15 -07:00
temp.go Add temp input plugin (#4411) 2018-09-10 11:52:15 -07:00
temp_test.go Add temp input plugin (#4411) 2018-09-10 11:52:15 -07:00

README.md

Temp Input plugin

This input plugin collect temperature.

Configuration:

[[inputs.temp]]

Measurements & Fields:

All fields are float64.

  • temp ( unit: °Celsius)

Tags:

  • All measurements have the following tags:
    • host
    • sensor

Example Output:

$ ./telegraf --config telegraf.conf --input-filter temp --test
* Plugin: temp, Collection 1
> temp,host=localhost,sensor=coretemp_physicalid0_crit temp=100 1531298763000000000
> temp,host=localhost,sensor=coretemp_physicalid0_critalarm temp=0 1531298763000000000
> temp,host=localhost,sensor=coretemp_physicalid0_input temp=100 1531298763000000000
> temp,host=localhost,sensor=coretemp_physicalid0_max temp=100 1531298763000000000