Ruby + Sinatra + Bootstrap + Highcharts + vnstat = awesome sauce!
CSS JavaScript Ruby Python Scala PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
public
views
._README.md
._ss.png
.gitignore
Gemfile
LICENSE.txt
README.md
Rakefile
config.ru
config.yml
rvnstat.gemspec
rvnstat.yml
ss.png
untitled.txt

README.md

Rvnstat

Ruby + Sinatra + Bootstrap + Highcharts + vnstat = awesome sauce!

Requirements

  • vnstat
  • sinatra
  • vidibus-sysinfo
  • filesize
  • sinatra

Installation

gem install rvnstat or clone this repo for running with passenger.

Usage

You can run it via nginx/apache with passenger or with rackup.

  • Add your path to vnstat, port and the interface you want to pull data from in the rvnstat.yml file.
  • Place your rvnstat.yml in the folder where you run the binary:
    • Run 'rvnstat' to start
  • Access it via http://IP:port

Screen Shot

Alt text

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request