User avatar
Xav
Posts: 85
Joined: Thu May 09, 2013 7:52 am
Location: France
Contact: Website

RPi-Monitor Version 2.6 is available

Thu May 09, 2013 9:28 am

Hi all,

I did develop a program that may interest some of you.
This program is named RPi-Monitor. Its objective is to monitor the status of Raspberry Pi and store an history of what happen.
This program is composed by a daemon getting information from the board and a dynamic web interface to display the information.
The installation is very easy to do since I'm providing debian package.
You will find more information about it, installation and usage instruction on http://rpi-experiences.blogspot.fr/.

Have fun,

Xav
Last edited by Xav on Sun Mar 16, 2014 2:54 pm, edited 1 time in total.

leona-pi
Posts: 18
Joined: Thu Nov 15, 2012 3:03 pm

Re: RPi-Monitor : Raspberry Pi self monitoring software

Thu May 09, 2013 1:00 pm

This is exactly what I am looking for, I've tried doing something similar, but with bash scripts and a javascript/dojo page, but ran out of time / talent! (I got a display, but couldn't display history correctly).
So will give this a try when I have my Pi working again.

One enhancement I can think of is, could it export its data to a log file (json or xml), as I would like to display the PI's status on a public website but I do not wish to have people be able to connect to my pi (ie I'll sftp the file to a webserver). Hopefully this makes sense.
Kind Regards
--------------------
Leona

User avatar
Xav
Posts: 85
Joined: Thu May 09, 2013 7:52 am
Location: France
Contact: Website

Re: RPi-Monitor : Raspberry Pi self monitoring software

Thu May 09, 2013 5:04 pm

leona-pi wrote:One enhancement I can think of is, could it export its data to a log file (json or xml), as I would like to display the PI's status on a public website but I do not wish to have people be able to connect to my pi (ie I'll sftp the file to a webserver). Hopefully this makes sense.
Good news, you can already do this with the version 1.0 of RPi-Monitor.
I did create a wiki page where I'll answer to question form users. Like everybody will have the importunity to benefit from the idea of each-other.
You are then inaugurating the Wiki and you will find the answer to your question in https://github.com/XavierBerger/RPi-Monitor/wiki.

Bernie.H
Posts: 13
Joined: Wed Oct 03, 2012 3:16 pm

Re: RPi-Monitor : Raspberry Pi self monitoring software

Fri May 10, 2013 10:44 am

Sorry, but this didn't work for me. Followed install instructions and I go
t the following:
dpkg: dependency problems prevent configuration of rpimonitor:
rpimonitor depends on librrds-perl; however:
Package librrds-perl is not installed.
rpimonitor depends on libhttp-daemon-perl; however:
Package libhttp-daemon-perl is not installed.
rpimonitor depends on libhttp-daemon-ssl-perl; however:
Package libhttp-daemon-ssl-perl is not installed.

dpkg: error processing rpimonitor (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db ...
Errors were encountered while processing:
rpimonitor

Went to install the suggested dependencies, which led to further dependencies not being resolved, at which stage gave up, not wishing to disappear down a dependency hole :¬((

User avatar
Xav
Posts: 85
Joined: Thu May 09, 2013 7:52 am
Location: France
Contact: Website

Re: RPi-Monitor : Raspberry Pi self monitoring software

Fri May 10, 2013 11:57 am

Bernie.H wrote:Went to install the suggested dependencies, which led to further dependencies not being resolved, at which stage gave up, not wishing to disappear down a dependency hole :¬((
Did you try to install the dependencies as described into the prerequisite here: https://github.com/XavierBerger/RPi-Monitor. This was not written into my blog, I fixed it.

User avatar
Xav
Posts: 85
Joined: Thu May 09, 2013 7:52 am
Location: France
Contact: Website

Re: RPi-Monitor : Raspberry Pi self monitoring software

Tue May 14, 2013 7:18 pm

The version 1.1 of RPi-Monitor is out.

This version is mainly a bug fix version brings few additional feature:

Changelog:
  • * Bugs fixes and little improvement in web interface.
    * Add friends to link RPi-Monitor running on different machine together (from an idea share n this forum - in french section).
    * Improve package installation scripts.

You will find all details of this new version on my blog: http://rpi-experiences.blogspot.fr/2013 ... lable.html

User avatar
Xav
Posts: 85
Joined: Thu May 09, 2013 7:52 am
Location: France
Contact: Website

Re: RPi-Monitor : Raspberry Pi self monitoring software

Sun May 19, 2013 7:52 pm

The version 1.2 of RPi-Monitor is available.
This version is coming with some visible features:
  • * Status of packages update
    * Preloader "spinner" for statistics
    * Fix uptime bug
Some additional invisible new features have been added to make RPi-Monitor compatible with a reverse proxy which will permit to improve the security of the solution.

You can refer to http://rpi-experiences.blogspot.fr/2013 ... lable.html for installation and usage instruction.

Schorschi
Posts: 220
Joined: Thu Nov 22, 2012 9:38 pm

Re: RPi-Monitor : Raspberry Pi self monitoring software

Mon May 20, 2013 5:33 am

One idea would be to implement CIM support? CIM is usually used for hardware monitoring but it is expandable, and if you implement CIM support, you open the door to a greater world. :) Of monitoring that is.

User avatar
Xav
Posts: 85
Joined: Thu May 09, 2013 7:52 am
Location: France
Contact: Website

Re: RPi-Monitor : Raspberry Pi self monitoring software

Tue May 21, 2013 6:53 am

Schorschi wrote:One idea would be to implement CIM support? CIM is usually used for hardware monitoring but it is expandable, and if you implement CIM support, you open the door to a greater world. :) Of monitoring that is.
Thanks for this feedback. I didn't know about CIM.
I read some docs and I didn't find clear use cases. I wonder if you can describe some use cases: one generic to let us know what CIM is and one showing the benefit of such a protocol for a raspberry.

User avatar
Xav
Posts: 85
Joined: Thu May 09, 2013 7:52 am
Location: France
Contact: Website

Re: RPi-Monitor : Raspberry Pi self monitoring software

Wed May 22, 2013 6:11 pm

The version 1.3 of RPi-Monitor is available. This version is fixing some bugs and improve few features.

This version is coming with an article explaining how to install and configure nginx (and in bonus shellinabox) to secure the access to RPi-Monitor with SSL and control the access with login and password.

All the information is on http://rpi-experiences.blogspot.fr/

Enjoy.

User avatar
Xav
Posts: 85
Joined: Thu May 09, 2013 7:52 am
Location: France
Contact: Website

Re: RPi-Monitor : Raspberry Pi self monitoring software

Thu May 30, 2013 5:28 pm

The version 1.4 of RPi-Monitor has been released.

All the information is on http://rpi-experiences.blogspot.fr/

What's new in this version?
  • Fix bugs
    Add package to be upgraded popover listing
    Add firmware version
    Increase shared memory to 8kb to support bigger json due to package upgrade status list
    Add warning before closing or refreshing sheelinabox page to avoid unwanted connection closing
    Remove graph without real meaning (voltage, cpu_frequency)
    Remember last graph displayed (to make update easier just by clicking Statistics menu)
Enjoy.

User avatar
Xav
Posts: 85
Joined: Thu May 09, 2013 7:52 am
Location: France
Contact: Website

Re: RPi-Monitor : Raspberry Pi self monitoring software

Wed Jun 05, 2013 8:22 pm

The version 1.5 of RPi-Monitor has been released.

All the information is on http://rpi-experiences.blogspot.fr/

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
This version is coming with an article explaining how to customize RPi-Monitor and model it to your needs. This article is addressing:
  • * 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 DS18B20)?
    * Customize graph to display bandwidth (from an idea from tduval shared in Github issue)
Enjoy!

jezkent
Posts: 3
Joined: Fri Apr 12, 2013 9:51 pm

Re: RPi-Monitor : Raspberry Pi self monitoring software

Thu Jun 13, 2013 9:45 pm

Hi Xav,

I'm having great fun with getting this to work, but I've hit a problem which is probably mostly my newness to Linux... please forgive me!

In your reverse proxy guide there's a scrip under the 'Manage authentication' section. For starters how should I run this? Do I create a file, then copy in the text, then run it? If so, how? (Sorry, this is probably embarrassingly trivial stuff! :oops:)

I got past this creating an .htpasswd file manually and adding some "user:pwd" entries. I tried both plaintext passwords and passwords run through the 'openssl passwd -crypt' command from the script. However, none of them work. The only way I can connect via https is to enter a username with a blank password in this file. (If it helps, I was also surprised that the 'openssl passwd -crypt' command keeps generating different text strings for the same input - I can't get my head around if that is correct.)

Ignoring the password issue, everything else works including shellinabox. I'm off to try the firewall next!!!

Thanks in advance, Jez

jezkent
Posts: 3
Joined: Fri Apr 12, 2013 9:51 pm

Re: RPi-Monitor : Raspberry Pi self monitoring software

Fri Jun 14, 2013 6:34 am

jezkent wrote:In your reverse proxy guide there's a scrip under the 'Manage authentication' section. For starters how should I run this? Do I create a file, then copy in the text, then run it? If so, how? (Sorry, this is probably embarrassingly trivial stuff! :oops:)
A quick update to say I've sorted some of my issues. Some midnight surfing taught me how to create a simple executable and the penny dropped when I started remembering some of my basic coding skills!

The one anomaly I've got left is this: why couldn't I manually create the contents of the user IDs and passwords using the exact same command? Why did it only work using the scripted version? Ummm... I'd appreciate any suggestions for my own learning.

Okay, the next question is - how can I set it up so I can access this remotely, i.e. outside my home LAN? Jez

User avatar
Xav
Posts: 85
Joined: Thu May 09, 2013 7:52 am
Location: France
Contact: Website

Re: RPi-Monitor : Raspberry Pi self monitoring software

Fri Jun 14, 2013 7:23 am

jezkent wrote:
jezkent wrote:In your reverse proxy guide there's a scrip under the 'Manage authentication' section. For starters how should I run this? Do I create a file, then copy in the text, then run it? If so, how? (Sorry, this is probably embarrassingly trivial stuff! :oops:)
A quick update to say I've sorted some of my issues. Some midnight surfing taught me how to create a simple executable and the penny dropped when I started remembering some of my basic coding skills!

The one anomaly I've got left is this: why couldn't I manually create the contents of the user IDs and passwords using the exact same command? Why did it only work using the scripted version? Ummm... I'd appreciate any suggestions for my own learning.

Okay, the next question is - how can I set it up so I can access this remotely, i.e. outside my home LAN? Jez
1/ password generation issue:
I did update my blog to explain in 3 lines how to install and use the script addnginxuser.sh.
http://rpi-experiences.blogspot.fr/2013 ... ation.html

2/ openssl passwd -crypt output:
Regarding your question about password change (interresting question ;-) ) I found the answer here: http://blog.irreverence.co.uk/?p=858

3/ executing content of the script manually:
If you execute it line by line it will work. The script is using variable, thiese variables have to be set correctly when you execute a line manually.

4/ accessing to RPi-Monitor from the internet
To do so you will have to configure your box/modem/router so refer to the doc of your provider.
If you followed the procedure from my blog, you should open the port 443 and then access to RPi-Monitor using https.

jezkent
Posts: 3
Joined: Fri Apr 12, 2013 9:51 pm

Re: RPi-Monitor : Raspberry Pi self monitoring software

Fri Jun 14, 2013 9:02 pm

Thank you! I hope other newbies like me find the updated instructions useful and the link to the bit about the password salt was very interesting. It's obvious now I think about it, but it was so perplexing at the time. Thank you again, Jez

User avatar
Xav
Posts: 85
Joined: Thu May 09, 2013 7:52 am
Location: France
Contact: Website

Re: RPi-Monitor : Raspberry Pi self monitoring software

Fri Jun 28, 2013 8:57 pm

After about 1 mounth of development (in duration... not in effort ;) ) RPi-Monitor v2.0 is available.
A lot of change occurs internally and some of them are visible manly ins statistics.

Here is the list of modifications:
  • * Add the possibility to draw static values in graphs
    * Suppresse automatic packages update after usage of apt-get command. Update will have to be done manually
    * Add redirection to shellinabox when /shellinabox request is received in internal server.
    * Add a man page dedicated to configuration: man rpimonitord.conf
    * Change configuration description of status and statistics in conf file to allow customisation.
    * Add post processing formula to make value more readable.
    * Statistic curve are now fully customizable (color, fill, legend...)
    * Suppresslegend et timezone from graphs
Acces to version 2.0 from my blog: http://rpi-experiences.blogspot.fr/2013 ... lable.html

Bonus: an additionnal article is available explaining how to customize RPi-Monitor. It is accessible at this adress: http://rpi-experiences.blogspot.fr/2013 ... usage.html

Enjoy and spread the word to your circle!

User avatar
yv1hx
Posts: 372
Joined: Sat Jul 21, 2012 10:09 pm
Location: Zulia, Venezuela
Contact: Website

Re: RPi-Monitor : Raspberry Pi self monitoring software

Sat Jun 29, 2013 3:28 am

Bonjour Xav:

I have a question before trying your nice package: My RPi http://yv1hx.no-ip.org is already is running the lighttpd daemon for web server, your app could interfere with this daemon ?

Thanks :D
Marco-Luis
Telecom Specialist (Now Available for Hire!)

http://www.meteoven.org
http://yv1hx.ddns.net
http://twitter.com/yv1hx

User avatar
Xav
Posts: 85
Joined: Thu May 09, 2013 7:52 am
Location: France
Contact: Website

Re: RPi-Monitor : Raspberry Pi self monitoring software

Sat Jun 29, 2013 7:11 am

yv1hx wrote:Bonjour Xav:

I have a question before trying your nice package: My RPi http://yv1hx.no-ip.org is already is running the lighttpd daemon for web server, your app could interfere with this daemon ?

Thanks :D
Hello,

Yes, it can. But as I answered to a similar question in my blog, there are many Web Servers existing nginx and lighttpd but also apache, cherokee and certainly other. In the post http://rpi-experiences.blogspot.fr/2013 ... usage.html, I cover nginx only, if you want to use lighttpd (or other) with RPi-Monitor, I would advise to read and understand how I do with nginx and try to reproduce this architecture with lighttpd (or other).

Note: If you write an article about how to configure lighttpd to work with RPi-Monitor, I'll be happy to add a link in my blog pointing to your post.

Finally, remember that RPi-Monitor is highly configuration so I would really advise to read http://rpi-experiences.blogspot.fr/2013 ... usage.html to see the possibilities offered by this software.

Cheers,
Xavier

User avatar
Xav
Posts: 85
Joined: Thu May 09, 2013 7:52 am
Location: France
Contact: Website

Re: RPi-Monitor : Raspberry Pi self monitoring software

Tue Jul 09, 2013 5:01 pm

RPi-Monitor v2.1 is available.
This version comes with reliability improvement and new feature allowing to go even further in customization 8-) .

Here is the list of modifications:
  • * Precheck result before adding in RRD to improve graphs
    * Add the possibility to customize axis with graph_options parameter
    * Add timeout for KPI reading to avoid possible hang when reading external sensors
    * Change keywork ds_graph_opts by ds_graph_options to be consistant with javascriptrrd and flot documentation.
    :idea: Keep that change in mind if you did some customisation.
    * Fix Issue #6: a stranger rpimonitor.conf
Acces to version 2.1 from my blog: http://rpi-experiences.blogspot.fr/2013 ... lable.html

Enjoy and spread the word to your circle!

User avatar
Xav
Posts: 85
Joined: Thu May 09, 2013 7:52 am
Location: France
Contact: Website

Re: RPi-Monitor : Raspberry Pi self monitoring software

Thu Jul 11, 2013 8:17 pm

A new post has been published on http://rpi-experiences.blogspot.fr/.
It explains how to connect a temperature and humidity sensor DHT11 ou DHT22 and how to used the measured values into RPi-Monitor and create graphs.
This post highlights a hidden feature of RPi-Monitor: the dual axis.

Enjoy and spread the word to your circle!

User avatar
Xav
Posts: 85
Joined: Thu May 09, 2013 7:52 am
Location: France
Contact: Website

Re: RPi-Monitor v2.2: Raspberry Pi self-monitoring software

Sun Jul 21, 2013 6:47 pm

RPi-Monitor v2.2 is available.
This version introduces the multi-pages feature and add some optimization for the web front-end.

Here is the list of modifications:
  • * Add the possibility to create multiple status and statistics pages
    * Add process respawner to improve reliability of rpimonitord
    * Add HTML5 cache for json data to speedup page display and offload RPi
    * bug fix: Embedded server won't start on 443 or 80 ports (issue #8)
    * bug fix: cleanup code according to comment described in issue #7
Acces to version 2.2 from my blog: http://rpi-experiences.blogspot.fr/2013 ... lable.html

Enjoy and spread the word to your circle!

User avatar
Xav
Posts: 85
Joined: Thu May 09, 2013 7:52 am
Location: France
Contact: Website

Re: RPi-Monitor : Raspberry Pi self monitoring software

Thu Aug 01, 2013 9:44 pm

A new article has been published on http://rpi-experiences.blogspot.fr/.
This time we will make a little electronic assembly and see how to connect a LCD screen (PCD8544 - Nokia 5110) allowing to display text and graphics.
An example shows how to display information directly extracted from RPi-Monitor.

Enjoy and spread the word to your circle!

User avatar
Xav
Posts: 85
Joined: Thu May 09, 2013 7:52 am
Location: France
Contact: Website

Re: RPi-Monitor : Raspberry Pi self monitoring software

Sun Aug 18, 2013 4:46 pm

RPi-Monitor v2.3 is available.
This version fix some bugs and add some optimization.

Here is the list of modifications:
  • * Add small improvement given by a feedback in RPi-Experiences blog
    * Use javascript to resize correctly shellinabox iframe even in Firefox
    * Fix issue #9: Wrong calculation of used memory
    * Fix issue #11: adding friends link missing colon
Access to version 2.3 from my blog: http://rpi-experiences.blogspot.fr/

Enjoy and spread the word to your circle!

Schorschi
Posts: 220
Joined: Thu Nov 22, 2012 9:38 pm

Re: RPi-Monitor : Raspberry Pi self monitoring software

Sun Aug 25, 2013 3:22 am

Sorry, I have not gotten back to this thread sooner! Nice to see RPi-Monitor mature. Suggestion of CIM... was more to the ability to use the many CIM compatible subscriber tools and applications. CIM is more of a support protocol design, than a solution alone. Some desktops and most servers support CIM as a new-generation of monitoring protocol that is above and beyond say, SNMP. If you implemented CIM support, it would allow Pi devices to be monitored by a very wide set of monitoring tools.

Return to “General discussion”