Out of the box, OpenWRT can show you real-time statistics, however it will not store the data for historical view.
Install luci-app-statistics to have a nice historical data graphs for router, eg: ping, interfaces bandwidth utilization, cpu load, ram, disk, uptime, etc…
To see all the available collectd-modules, run: opkg list | grep collectd-mod
I've found the original description located at:
Thanks to advanxer.com!
The luci-app-statistics package is based on Collectd and uses RRD Tool to render diagram images from collected data.
1. opkg update and install (326 KB)
opkg update opkg install luci-app-statistics2. Install desired plugins (60 KB)
opkg list | grep collectd-mod opkg install collectd-mod-cpu collectd-mod-interface collectd-mod-memory collectd-mod-ping collectd-mod-rrdtool collectd-mod-wireless3. Enable daemons
/etc/init.d/luci_statistics enable /etc/init.d/collectd enable
Configuration via UCI: uci export luci_statistics
Configuration via LuCI:
After installation a new menu appears in LuCI: Statistics. The configuration part is under Statistics / Collectd
All the installed collectd-modules will shown here, but only some of them are enabled by default.