A blog about electronics, domotics, linux, programming and my own personal projects

Tuesday, March 5, 2013

Raspberry Pi Performance to Pachube version 2.0 [UPDATED]

What's this?

rpi2pachube is a set of scripts written in Bash that gather and push performance data from your Raspberry Pi to Pachube.

My own feed

Requirements

Raspberry Pi connected to the Internet.

Debian-flavor "ifstat command". Run "ifstat -v"; You should have version 1.1.

realpath command for setup.sh. Run "realpath --version" to see if you have it installed. Use apt-get or pacman to install it depending on which linux distro you are using.

Arch Linux users: You WILL have to download the source code for ifstat and compile it yourself if you want to monitor a network interface with this script. Arch Linux's ifstat command output format is significantly different from Debian's ifstat. You will otherwise have to modify rpi2pachube to work with whatever flavor of ifstat Arch Linux uses if you do not wish to do this.

How does it work?

rpi2pachube gathers performance data from your Raspberry Pi (temperature, load, network throughput, etc.) at 5 minute intervals and pushes this data to Pachube. From Pachube, you can watch how your Pi is doing from basically anywhere in the world.

What's new in version 2.0?

Temperature can now be pushed to Pachube in Fahrenheit.

Enable/disable monitoring of any performance value.

Monitor multiple network interfaces.

Where can I get it?

Remove any files from any previous versions before installing version 2.0.