Add troubleshooting command for Windows to temp input

This commit is contained in:
Daniel Nelson 2019-12-04 14:32:54 -08:00
parent eeb4690686
commit d0db03b8f3
No known key found for this signature in database
GPG Key ID: CAAD59C9444F6155
1 changed files with 14 additions and 4 deletions

View File

@ -5,13 +5,14 @@ meant to be multi platform and uses platform specific collection methods.
Currently supports Linux and Windows.
### Configuration:
### Configuration
```
```toml
[[inputs.temp]]
# no configuration
```
### Metrics:
### Metrics
- temp
- tags:
@ -19,7 +20,16 @@ Currently supports Linux and Windows.
- fields:
- temp (float, celcius)
### Example Output:
### 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