Measure system temperature

Hello all,

I've successfully run metricbeat on a raspberryPI and I'm wondering what's the best way of adding the system temperature to the metricbeat data collection?

The system temperature can be retrieved using this command: sudo /opt/vc/bin/vcgencmd measure_temp

Interaction with OSs is done using gosigar. You can find it here:
You can open a PR with reading the temperature from the proper file. After it's reviewed and merged, gosigar needs to be vendored in Beats. This way the new status report can be added as a new metric in system metricset.

Let me know if you need more help. It would be a great addition to the existing metrics. :slight_smile:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.