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
  • luci plugins graphs usage
  • https://advanxer com/blog/2013/02/openwrt-monitoring-using-collectd/
  • collectd-mod-wireless
  • openwrt luci cpu info
  • openwrt luci график
  • openwrt monitor
  • openwrt monitoring
  • openwrt cpu memory monitor
  • openwrt collectd-mod-processes
  • openwrt collectd data directory
  • MuninLite
  • luci statistic openwrt -inurl:openwrt org
  • мониторинг соединенийd реальном времени на openwrt