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