Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Raspberry pi server monitor
Ruby JavaScript C HTML CSS Makefile C++
Fetching latest commit...
Cannot retrieve the latest commit at this time.


Build Status Dependency Status Gem Version Code Climate Coverage Status



Pimon is a simple server monitor designed for the Raspberry Pi. Currently it only works with the Raspberry Pi 1 (256MB and 512MB versions).

What do I need to get it to work?

  1. Clone this repo: git clone git://
  2. bundle
  3. bin/pimon start # run the sinatra app
  4. go to http://localhost:3000 and PROFIT! Optionally you may install it as a gem and run it, please check "Installing as a gem" further down.


Configuration is done through a YAML file, you may check some examples on the config directory.

Installing as a gem

gem install pimon

After installation just do pimon start and go to http://localhost:3000 and check your stats. If you want you may run Pimon with other options:

Usage: pimon start|stop [options]
    -c, --config CONFIG              YAML configuration file for pimon
    -d, --daemonize                  Run Pimon daemonized in the background
    -e, --environment ENVIRONMENT    Application environment (default: "development", options: "development", "production")
    -i, --interface INTERFACE        Hostname or IP address of the interface to listen on (default: "localhost")
    -p, --port PORT                  Port to use (default: 3000)
    -P, --pid PIDFILE                File to store PID (default: /tmp/

(This will only work on your Raspberry Pi and perhaps some other linux distros, check the quirks section for more info).

Running tests

To run the coverage suite:

rake coverage:spec

Results will be in coverage/index.html directory.


Pimon uses vmstat and free to collect it's stats from the operating system and these are only available on operating systems that have the /proc filesystem.
So if you want to develop on a Mac you may use the mock implementations that are in the bin directory.
The mock implementations are programmed in C and mimic the output of vmstat and free.
They just change and generate some random values on the observed stats using /dev/urandom.
To use them you must first compile them using make and then include the bin directory of this project in your $PATH to have them available when you run the sinatra application. The temperature stat is available with the latest Raspbian and Arch Linux distros on your Raspberry Pi and will (may) not work if you're developing on other systems. Pimon only works with Ruby 2.0+.


Licensed under the WTFPL license.

Something went wrong with that request. Please try again.