Skip to content

dougbishop/rVnstat

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published