Skip to content

krikk/raspberrypi-temperature-telegraf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

raspberrypi-temperature-telegraf

Collect RaspberryPi CPU and GPU temperature with telegraf

How to use

  1. Copy telegraf_pi_temp.sh to /usr/local/bin/telegraf_pi_temp.sh
  2. Modify file permissions chmod +x /usr/local/bin/telegraf_pi_temp.sh
  3. Add telegraf user to video group sudo usermod -G video telegraf
  4. sudo service telegraf restart or sudo reboot
  5. Add to your telegraf.conf snippet from telegraf.conf
  6. Run test telegraf -config /etc/telegraf/telegraf.conf -test

Data format

To get a human readable cpu temperature divide it by 1000

{"cpu":54768, "gpu":54.8}

About

Collect RaspberryPi CPU and GPU temperature with telegraf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%