2018-09-10 18:52:15 +00:00
|
|
|
# Temp Input plugin
|
|
|
|
|
2018-09-27 02:05:55 +00:00
|
|
|
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.
|
2018-09-10 18:52:15 +00:00
|
|
|
|
2019-12-04 22:32:54 +00:00
|
|
|
### Configuration
|
2018-09-10 18:52:15 +00:00
|
|
|
|
2019-12-04 22:32:54 +00:00
|
|
|
```toml
|
2018-09-10 18:52:15 +00:00
|
|
|
[[inputs.temp]]
|
2019-12-04 22:32:54 +00:00
|
|
|
# no configuration
|
2018-09-10 18:52:15 +00:00
|
|
|
```
|
|
|
|
|
2019-12-04 22:32:54 +00:00
|
|
|
### Metrics
|
2018-09-10 18:52:15 +00:00
|
|
|
|
2018-09-27 02:05:55 +00:00
|
|
|
- temp
|
|
|
|
- tags:
|
2018-09-10 18:52:15 +00:00
|
|
|
- sensor
|
2018-09-27 02:05:55 +00:00
|
|
|
- fields:
|
|
|
|
- temp (float, celcius)
|
2018-09-10 18:52:15 +00:00
|
|
|
|
2019-12-04 22:32:54 +00:00
|
|
|
|
|
|
|
### 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
|
2018-09-10 18:52:15 +00:00
|
|
|
|
|
|
|
```
|
2018-09-27 02:05:55 +00:00
|
|
|
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
|
2018-09-10 18:52:15 +00:00
|
|
|
```
|