telegraf/plugins/inputs/temp
Daniel Nelson d0db03b8f3
Add troubleshooting command for Windows to temp input
2019-12-04 14:32:54 -08:00
..
README.md Add troubleshooting command for Windows to temp input 2019-12-04 14:32:54 -08:00
temp.go Clarify platform support for temp input (#4756) 2018-09-26 19:05:55 -07:00
temp_test.go

README.md

Temp Input plugin

The temp input plugin gather metrics on system temperature. This plugin is meant to be multi platform and uses platform specific collection methods.

Currently supports Linux and Windows.

Configuration

[[inputs.temp]]
  # no configuration

Metrics

  • temp
    • tags:
      • sensor
    • fields:
      • temp (float, celcius)

Troubleshooting

On Windows, the plugin uses a WMI call that is can be replicated with the following command:

wmic /namespace:\\root\wmi PATH MSAcpi_ThermalZoneTemperature

Example Output

temp,sensor=coretemp_physicalid0_crit temp=100 1531298763000000000
temp,sensor=coretemp_physicalid0_critalarm temp=0 1531298763000000000
temp,sensor=coretemp_physicalid0_input temp=100 1531298763000000000
temp,sensor=coretemp_physicalid0_max temp=100 1531298763000000000