Another method to collect your OpenWRT statistics

Installation:
opkg update
opkg install luci-app-vnstat vnstat vnstati

Configuration:
openwrt-vnstat-config

Advance configuration
1) Vnstat Luci configuration script located at /etc/config/vnstat

[email protected]:/# cat /etc/config/vnstat
config 'vnstat'

list 'interface' 'br-lan'
list 'interface' 'eth0'
list 'interface' 'eth0.1'
list 'interface' 'eth0.500'
list 'interface' 'eth0.600'
list 'interface' 'wlan0'

2) Core vnstat configuration file located at /etc/vnstat.conf. Default graph is stored in /var/lib/vnstat folder, I changed my graph location to usb

# location of the database directory
DatabaseDir "/mnt/usb/var/vnstat"

Links:
http://wiki.openwrt.org/doc/howto/vnstat

Incoming search terms:

  • openwrt vnstat
  • cat /etc/config
  • luci app pbx
  • opkg install luci
  • vnstat openwrt hilang