Project

rvnstat

0.0
No commit activity in last 3 years
No release in over 3 years
Sinatra GUI for vnstat
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0

Runtime

 Project Readme

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