Hi,
I’m testing telegraf to collect raspberry pi status, and send them to influxdb (I’m a newbie at both)
I can get “cpu” measurement with some fields “usage_*”
But in raspberry pi 4 i can get cpu temp reading a file:
[[inputs.file]]
files = ["/sys/class/thermal/thermal_zone0/temp"]
name_override = "cpu.temp"
data_format = "value"
data_type = "integer"
and I can get a new measurement with the name “cpu.temp”
But I want to get temp inside cpu measurement.
If I use name_override “cpu”, i can get a field “value” in cpu measurement, but is it possible to change the name of the field from “value” to “temp”?
I’ve tested cpu.temp, cpu_temp, cpu/temp in name_override without success.
Thanks!