I wanted to record how much bandwidth is being used during the month. I found these instructions to install vnstat, a traffic monitor.
- open a ssh connection to your router
- the credentials are the same that you use in the web admin portal
- run the following lines to add the debian repo
-
configure set system package repository wheezy components 'main contrib non-free' set system package repository wheezy distribution wheezy set system package repository wheezy url http://http.us.debian.org/debian commit; save; exit
-
- update cache
- sudo apt-get update
- install vnstat
- sudo apt-get install -y vnstat vnstati
- vnstati is a tool that creates images off of the data
- sudo apt-get install -y vnstat vnstati
- run vnstat
-
sudo vnstat -i eth0
-
- run this line to allow vnstat to start after reboot
-
ln -s /etc/init.d/vnstat /config/scripts/post-config.d/vnstat
-
More info can be found here:
http://tate.cx/edgeos-data-usage-monitor-using-vnstat https://community.ubnt.com/t5/EdgeMAX-Feature-Requests/vnStat-vnStati-on-ERL/idi-p/819414
Leave a Comment