Sunday, August 17, 2014

RPi-Monitor: Version 2.7 is available


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

The version 2.7 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 Adrienne Yancey


What's new in this version?
This version is coming with internal changes, improvement and bug fixes.

Here is the changelog of version 2.7:
  • Change directory storing configuration to /etc/rpimonitor/
  • Change configuration file name to better names
  • Create a template directory for configuration files
  • Change location of RRD storage to /var/lib/rpimonitor
  • Add xbian support and distribution automatic detection in debian package
  • Cleanup shellinabox menu display and configuration
  • Change ownership of empty.rrd to activate on demand regeneration Fixing issue #23
  • Update raspbian.conf to make it compatible with NOOBS installation
  • Update jquery (v2.1.1) and bootstrap (v2.3.2)
  • Update disk usage formula for better compatibility
  • Add 'Label' function for status page



Installation

Download it from the official repository in Github with the command:
    wget http://goo.gl/Alzgej -O rpimonitor_2.7-1_all.deb

If you have issue with GnuTLS: A TLS warning alert coming from Github you can download it with the following command:
    curl -L http://goo.gl/Alzgej -o rpimonitor_2.7-1_all.deb

Install the dependencies by executing the following command (use command apt-get if aptitude is not available on your target system):
    sudo aptitude install librrds-perl libhttp-daemon-perl libjson-perl libipc-sharelite-perl libfile-which-perl

Installation or upgrade can be done with the command:
    sudo dpkg -i rpimonitor_2.7-1_all.deb

Complete the installation with the command:
    sudo apt-get update && sudo service rpimonitor update

Upgrade

This version of RPi-Monitor introduce some changes in the internal file organisation. This new organisation is described in detail into PACKAGING.md.
RPi-Monitor package is designed to automatically make the migration from previous version.
To avoid any loss, it is still recommended to backup the directories /usr/share/rpimonitor/web/stat/, /etc/rpimonitord.conf and /etc/rpimonitord.conf.d/*. In case of issue, refer to PACKAGING.md to see where files should be restaured and how.

Label function to reflect status

This version of RPi-Monitor introduce a new function dedicated to show the status of a service. This function is named "Label". I'll write a dedicated post to present this function. If you can't wait, you can have a look to the manpage and the to file template/services.conf which is showing how to use it.

About shellinabox

Shellinabox allow you to access to the shell of your Raspberry Pi through a web interface. You can activate this feature into the configuration dialog box.
By default, the link is set to '''/shellinabox'''. When RPi-Monitor will recieve this request, it will automatically do a redirect to http://RPiIpAddress:4200/. You can modify this address to point to your shellinabox address. This address is used inside the iframe of shellinabox page.

Customization

RPi-Monitor is fully configurable so if the displayed information doesn't match you need, customize it.
Everything display in status pages or in statistics pages can be modified, tuned and customized to your needs.

To see how to customize it, use the command
    man rpimonitord
and
    man rpimonitord.conf

Man pages are also available in the wiki.

To define the configuration you can use RPi-Monitor Interactive Configuration Helper whit the command:
    rpimonitord -i

You will find some examples of customization in RPi-Monitor articles.


Usage

Once RPi-Monitor is configured as you wished, browse http://RPiIpAddress:8888/ to access to the web interface.

Note: The graphs rendering may have strange behavior on Google-Chrome on Windows while it works fine on Linux. Internet Explorer is even not able to display statistics, it is then advised to use Firefox on Windows or better... switch to Linux! ;-).

No comments :

Post a Comment