Ruby + Sinatra + Bootstrap + Highcharts + vnstat = awesome sauce!
gem install rvnstat or clone this repo for running with passenger.
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
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request