Out of the box, OpenWRT can show you real-time statistics, however it will not store the data for historical view. I’m looking for similar graphing function as seen on DD-Wrt.

Objective:
To have a nice historical data graphs for router (interfaces bandwidth utilization, cpu load, uptime)

Options we have:
-Use SNMP and graph it using cacti
-muninlite
vnstat
-collectd

This tutorial will be using luci-app-statistics and collectd.

1. Update package
opkg update
2. Install luci-app-statistics
opkg install luci-app-statistics
3. List out supported plugins for collectd
opkg list | grep collectd-mod
4. Install desired plugins
opkg install collectd-mod-cpu collectd-mod-interface collectd-mod-memory collectd-mod-ping collectd-mod-rrdtool collectd-mod-wireless
5. Enable init script
/etc/init.d/luci_statistics enable
/etc/init.d/collectd enable

6. Change RRDTool output folder (optional)
monitor2
/mnt/sda5 is my external USB drive attached to the router.

Screenshots
monitor1

monitor3 monitor4 monitor5 monitor6

Incoming search terms:

  • openwrt collectd
  • openwrt cacti
  • cacti collectd
  • collectd
  • collectd-mod-ping
  • openwrt bandwitdh monitoring
  • collectd cacti
  • collectd openwrt USB stick
  • collectd-mod-wireless
  • https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1832 TvpZ-0y6pVVYInCHk59YQdHhsewush3PROSFD_CGpbwW6wjjo1AzgJRJCX-Iprrn ed88215bd5355f446864dd930486d3f9b71dcfb7&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXme
  • LuCI Statistics Application
  • luci traffic meter
  • openwrt collectd mod-snmp query
  • openwrt cpu temp
  • openwrt luci statistics application