telegraf/plugins/inputs/temp
Joshua Powers 49ac03fa80
docs: add global configuration header (#12107)
2022-10-26 14:58:36 -05:00
..
README.md docs: add global configuration header (#12107) 2022-10-26 14:58:36 -05:00
sample.conf chore(inputs_m-z): migrate sample configs into separate files (#11133) 2022-05-18 11:31:34 -05:00
temp.go docs: Remove warning not to remove go:embed (#11797) 2022-09-13 12:47:58 -05:00
temp_test.go fix: update shirou/gopsutil to v3 (#10119) 2021-11-18 09:33:47 -07:00

README.md

Temperature 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.

Global configuration options

In addition to the plugin-specific configuration settings, plugins support additional global and plugin configuration settings. These settings are used to modify metrics, tags, and field or create aliases and configure ordering, etc. See the CONFIGURATION.md for more details.

Configuration

# Read metrics about temperature
[[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