Friday, June 28, 2013

RPi-Monitor: Version 2.x advance usage and customization

Note: A new version of RPi-Monitor is available.
For all details about RPi-Monitor refer to RPi-Monitor Documentation.


Note: Information bellow are outdated




Edit: RPi-Monitor version 2.7 introduce a change in configuration name and location:
  • /etc/rpimonitor d.conf becomes /etc/rpimonitor/daemon.conf
  • /etc/rpimonitord.conf.d becomes /etc/rpimonitor/data.conf
  • /etc/rpimonitord.conf.d/*.conf becomes /etc/rpimonitor/*.conf

In this article we will see how to do the things described in RPi-Monitor: Advance usage and customization and maybe, a little bit more...

We will then answer the same questions : How should I do if I want to...
  • Customize RPi-Monitor v2.x to fit a particular needs?
  • Use it with my own Web Server? 
  • Add "friends" linking RPi-Monitor v2.x running on different platform together?
  • Use it into another Linux distribution than Raspbian? 
  • Add other graphs from additional sources (other mount point or external temperature probe)?

Photo from Flickr AttributionNoncommercialShare Alike cc-by-nc-sa by blogjunkie
Note: A prerequisite is to install the latest version of RPi-Monitor v2.x

RPi-Monitor: Version 2.0 is available

Note: A new version of RPi-Monitor is available: Version 2.1.
All the details about the latest version of Rpi-Monitor are in RPi-Monitor overview

The version 2.0 of RPi-Monitor has been released.

If you don't know yet what RPI-Monitor do, have a look to RPi-Monitor Overview.

Photo from Flickr  AttributionShare Alike cc-by-sa by bovinity

What's new in this version?

A lot of changes have been done in the code of RPi-Monitor. Most of these changes are invisible from a first look except maybe a better look'n feel...
RPi-Monitor is now fully configurable. Everything displays in status page or in statistics page can be modified, tuned and customized to your needs. You can see the manpages of rpimonitord and rpimonitord.conf for deepers details.

Here is the changelog of version 2.0:
  •  Add the possibility to draw static values
  •  Remove update package status update after apt-get command. Update command will have to be executed manually.
  •  Add redirection for shellinabox for url /shellinabox
  •  Add a manpage dedicated to configuration: man rpimonitord.conf
  •  Change in configuration files to make status and statistic pages fully configurable
  •  Add post-process formula to have more readable values
  •  Curves displayed in graph are now fully configurable
  •  Remove Legend position and timezone from graphs
  •  Make legend of graph configurable

Wednesday, June 5, 2013

RPi-Monitor: Advance usage and customization

Note: A new version of RPi-Monitor is available.
For all details about RPi-Monitor refer to RPi-Monitor Documentation.


Note: Information bellow are outdated



Note: A new version of RPi-Monitor is available: Version 2.0.
All the details about the latest version of Rpi-Monitor are in RPi-Monitor overview

RPi-Monitor is designed to be flexible and configurable. But how should I do if I want to:
  • Customize RPi-Monitor to fit a particular needs?
  • Use it with my own Web Server? 
  • Add "friends" linking RPi-Monitor running on different platform together?
  • Use it into another Linux distribution than Raspbian? 
  • Add other graphs from additional sources (other mount point or external temperature probe)?
  • Customize graph to display bandwidth (from an idea from tduval shared in Github issue)

Photo from Flickr AttributionNoncommercialNo Derivative Works cc-by-nc-nd by WingedWolf
All these questions will be answered into this post and as a bonus, we will also see how to install a little electronic DS18B20 temperature probe.

RPi-Monitor: Version 1.5 is available

Note: A new version of RPi-Monitor is available: Version 2.0.
All the details about the latest version of Rpi-Monitor are in RPi-Monitor overview

The version 1.5 of RPi-Monitor has been released.

If you don't know yet what RPI-Monitor do, have a look to RPi-Monitor Overview. This version come with bug fixes to allow the usage of RPi-Monitor with an external web server.

Photo from Flickr AttributionNoncommercialNo Derivative Works cc-by-nc-nd by P_Breen
What's new in this version?
  • Fix bugs highligthed by validator.w3.org
  • Fix bugs avoiding RPi-Monitor to work properly with an external web server

Monday, June 3, 2013

RPi-Monitor: Build a multi-sites SSL certificate to improve user experience

This post comes in addition to my previous post: RPi-Monitor: Security and authentication with a reverse proxy.
You may notice that your browser do not trust the certificate we generate consider it as insecure. In this post we will see how to create our own certificate and certificate authority. We will also see own to configure our browser to trust our certificate authority and consider the associated certificates as secure.


Thanks to this actions, we will then move from https :-( to https :-) and remove the security warning.