IP Bandwith monitoring similar from Gargoyle

Hi Everyone,

Like in the following forum post Migrating from Gargoyle - Bandwidth Management, I have migrated from Gargoyle because the UI does not easily support VLANs. Gargoyle has current and historical IP bandwidth monitoring

Been trying to use the band with monitoring tools linked in this page
https://openwrt.org/docs/guide-user/services/network_monitoring/start.

Lots have not been active in a couple of years, I have tried Yamon and spend countless hours working with another contributor who has Yamon working perfectly on Openwrt One. https://github.com/glennmckechnie/YAMon-v4

I cannot get Yamon to working correctly it does heaps of updates with no matching Mac address.

Is there any current supported packages that can replicate the IP Bandwidth distribution similar to Gargoyles? It was used the ip bandwidth monitoring to ensure I get all the devices that the kids have access to over night are blocked on the firewall.

I have tried
Yamon
Darkstat
luci-app-nlbwmon
luci-app-statistics
luci-app-vnstat2
nlbwmon

Yamon does by IP but is not stable the other only work by interface

Thanks

Hi All!

It is sad news to hear that bandwidthd is gone, more-or-less. It was the only monitor I could find that didn't just grab stats from kernel devices. It would use the pcap api to see the dst/src of every packet. I was always looking for Internet traffic on my LAN, i.e. top talkers. So, I needed to see the local IP and it's usage on the Internet. But as for the pcap api, tcpdump can do that same. I just posted a script that can simulate the sqlite db created by bandwidthd. It's out on https://github.com/RVgo4it/OpenWrt.

Thank you for the reply

There is no package in openwrt 25, apk add bandwidthd-sqlite provides an error unable to select the package.

The following was published Update 4/19/2026. Bandwidthd is no longer available after OpenWRT 22.03.7. It is removed in September 2023 commit, see details here: on https://openwrt.org/docs/guide-user/services/network_monitoring/bandwidthd

Not sure how much I am missing to get the new script to work without the bandwidthd-sqlite package, I don't see anything in the readme regarding building up bandwidthd without the package

Thank you

The tcpdump2sqlite.sh script just needs packages tcpdump, lsof and sqlite3-cli installed and a thumb drive mounted at /mnt/sda1. It does not need bandwidthd at all. It collects the same data bandwidthd would and puts it in a sqlite DB. I also tested the bandwidth_used.sh script and it works fine with the DB produced by tcpdump2sqlite.sh. I have not tested bandwidth_shape.sh to see if it works. Keep in mind that these older scripts were designed for IPv4. However, now a days there is lots of IPv6 traffic. The tcpdump2sqlite.sh does collect IPv6 data and mac addresses. So, it's there if you need it.

I recently made https://saudiqbal.github.io/PHP/External-Bandwidth-Monitor-OpenWrt-Interface-PHP-SQLite-vnstat.html using a webserver on a $15 Raspberry pi zero 2W. You can use anything for the hardware, even a VM on a proxmox server is good. All you need is a PHP, apache / nginx and sqlite.

It´s amazing!

Thank you, I am currently using luci-app-vnstat2 on my router for the link bandwidth, to provide the bandwidth but it doesn't break down the details to source mack and ip address

Update: I have been running Yamon for a few weeks now and it initially didn't work well in May, but after going into a new month the config and monitoring has stabilised, there is a new fork https://github.com/glennmckechnie/YAMon-v4 which has been able to achieve ip level reporting consistently by the hour and day

Does this forked version of Yamon support IPv6? With my current traffic being composed of 45% IPv6, it’s less than adequate if it doesn’t.

Hi I have explicitly turned off ipv6 on openwrt to ensure I am getting the ipv4 working correctly first. I can see the mac addresses have ipv4 and ipv6 addresses, but I cannot confirm it works