Original Tomato has had a Bandwidth Distribution graph for Outbound traffic in it's QOS for years. However, I more often need to identify users who are using too much inbound bandwidth. Is it possible to add a Bandwidth Distribution Inbound graph, or even track this by MAC/IP?
Is this any way to get this to show up in a more integrated fashion within the Tomato UI?
* QoS —> View Graphs
1) Connections Distribution — all active connections
2) Bandwidth Distribution (Outbound) — all active bandwidth outbound (uploading to Internet)
3) Bandwidth Distribution (Inbound) — all active bandwidth inbound (downloading from Internet)
Is this what you mean?
Don't get excited - this was just a mockup. I duplicated the graph code but I am totally incompetent at actually inputting data, I was hoping that it might inspire someone! Probably reading a few related and possibly relevant posts below would help you with this. I think that by using IMQ on the incoming ingress would allow you to more easily collect data for the graph, useful stuff like per-IP stats, and also fix a few other things at the same time- such as what I consider to be the "unfinished" QOS system. Looking at Gargoyle's code would be a good place to start maybe.
http://www.linksysinfo.org/forums/showpost.php?p=360754&postcount=184 and following discussion in QOS thread
http://www.linksysinfo.org/forums/showthread.php?p=361270 New thread
Download site http://www.4shared.com/dir/v1BuINP3/Toastman_Builds.html (inc. torrent downloads)
Make a Paypal Donation http://toastmanfirmware.yolasite.com/donations.php
Dang, I got excited before I read your text :) Yea that's exactly what I was thinking. I know a prior comment mentioned Optware + bandwidthd and I'll give that a try in the mean time but integrated as part of that existing QOS graphs page would be ideal.
Please, some suggestion:
- Add to the graphs an option to show (or not) the UNUSED bandwith. Now, the distribution in the graph is referenced to the 100% of the USED bandwith; but in some scenarios, a graph referenced to the 100% of AVAILABLE bandwith can be more interesting.
The code is simple: add another category (UNUSED) and set it like UNUSED = TOTAL_BANDWITH - USED_BANDWITH; (used_bandwith = SUM of all categories).
I hope this will be accepted!