wip
This commit is contained in:
parent
9b3693dc04
commit
f82eceae2e
1 changed files with 2 additions and 2 deletions
|
@ -3,8 +3,8 @@
|
|||
'telegraf': {
|
||||
'config': {
|
||||
'inputs': {
|
||||
'file': [{
|
||||
'files': ["/sys/class/thermal/thermal_zone0/temp"],
|
||||
'exec': [{
|
||||
'commands': ["/bin/bash -c \"cat /sys/class/thermal/thermal_zone0/temp | xargs -I '{}' expr {} / 1000\""],
|
||||
'name_override': "cpu_temperature",
|
||||
'data_format': "value",
|
||||
'data_type': "integer",
|
||||
|
|
Loading…
Reference in a new issue