OpenWRT: Monitoring using collectd

By | February 15, 2013

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.

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

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)
/mnt/sda5 is my external USB drive attached to the router.


monitor3 monitor4 monitor5 monitor6

Incoming search terms:

  • openwrt collectd
  • openwrt cacti
  • collectd thermal open wrt
  • cacti collectd
  • collectd
  • collectd-mod-ping
  • openwrt bandwitdh monitoring
  • anyway2bk
  • burstcpf
  • centurya1l
  • collectd cacti
  • щзутцке сщддусев
  • collectd openwrt USB stick
  • collectd-mod-wireless
  • collectsd-mod openwrt