Hi all, I recently built a pfSense router, and installed the Telegraf package to write metrics to my InfluxDB. However, the base Telegraf package for pfSense does not have a measurement for CPU Temperature. So, I figured I could add an inputs.exec entry to the “additional configuration for Telegraf” box.
Here’s what I entered:
[[inputs.exec]] commands = ["sysctl -n dev.cpu.0.temperature | tr -d 0.C"] name_override = "cpu_temp" timeout = "5s" data_format = "influx" [inputs.exec.tags] cpu = "cpu0"
However, this does not result in a new measurement. As far as I can tell, it’s doing nothing. I know that user account access can be an issue, but as far as I can tell there is only one user on my pfSense, and that user has full administrator access.
Can anyone point me in the right direction?