Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
715f5b0
commit 78009a0
Showing
2 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,29 @@ | ||
# Pimon | ||
|
||
A simple server stats monitor designed for the raspberry pi. | ||
![Pimon](http://pedrocarrico.net/pimon.jpg "Pimon") | ||
|
||
## Description | ||
Pimon is a simple server stats monitor designed for the raspberry pi. | ||
It uses redis lists to show the latest 6 observed statistics and also uses | ||
highcharts to display some nice graphs on your web browser. | ||
|
||
## What do I need to get it to work? | ||
1. Install redis | ||
2. Copy the supplied config.yml.sample to config.yml | ||
3. bundle | ||
4. ruby pimon.rb # run the sinatra app | ||
5. ruby stats_checker.rb # collect some stats | ||
6. go to http://localhost:4567 and PROFIT! | ||
7. You may want to put "ruby stats_checker.rb" in your crontab to collect some stats over time | ||
|
||
## Configuration (config.yml) | ||
1. basic_auth - enable or disable, configure username and password | ||
2. redis - configure the location of the redis socket | ||
|
||
## TODO | ||
1. More configuration options | ||
2. Have a If-Modified-Since/Last-Modified request/response HTTP header | ||
3. More control over the time slices | ||
|
||
## Copyright | ||
Licensed under the [WTFPL](http://en.wikipedia.org/wiki/WTFPL "Do What The Fuck You Want To Public License") license. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | ||
Version 2, December 2004 | ||
|
||
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net> | ||
|
||
Everyone is permitted to copy and distribute verbatim or modified | ||
copies of this license document, and changing it is allowed as long | ||
as the name is changed. | ||
|
||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | ||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION | ||
|
||
0. You just DO WHAT THE FUCK YOU WANT TO. |