1. Store
  2. Apps
  3. Hardware
  4. Support
  5. Solutions

ClearFoundation

Forums
Welcome, Guest
ClearOS Module - Bandwidth (Rule) Monitor
(1 viewing) 1 Guest
Go to bottomPage: 1234567
TOPIC: ClearOS Module - Bandwidth (Rule) Monitor
#16094
Re:ClearOS Module - Bandwidth (Rule) Monitor 2 Years, 10 Months ago  
Works at treat. Thanks Tim.

My rules are very simplistic at this point - low priority and minimal bandwidth set for all web and email traffic (leaving high ceiling) and highest priority of all ports going to my asterisk server and ATA device for the VoiP. With only low traffic (home connection) the bandwidth is rarely saturated so my bandwidth control is largely "recreational" at this point. I need to exercise it more next time I'm on the phone to see if it yields real benefit.


EDIT: suggestion? Is ti possible to display the classes/ip's for which rules are defined but that have a a current rate of zero? ie I have bandwidth rules set for my VoiP phone (ATA) and I'm only ever going to see that in the output table if I load the monitor during a phone call. It would still be interesting to see the totalled statistics for that IP even when the current rate is zero.
grubs
Senior Boarder
Posts: 41
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/08/21 01:32 By grubs.
The administrator has disabled public write access.
 
#16153
Re:ClearOS Module - Bandwidth (Rule) Monitor 2 Years, 10 Months ago  
grubs wrote:
suggestion? Is ti possible to display the classes/ip's for which rules are defined but that have a a current rate of zero? ie I have bandwidth rules set for my VoiP phone (ATA) and I'm only ever going to see that in the output table if I load the monitor during a phone call. It would still be interesting to see the totalled statistics for that IP even when the current rate is zero.

For a quick fix, maybe it can be an option but I am not a php programmer:

Go to line 554 in /var/webconfig/htdocs/admin/bandwidth-monitor.php and you should find:
Code:

} else if($classid['sent'] != 0){

and change the value of 0 to -1 and you are able to see all the classes.
Jos van de Ven
Junior Boarder
Posts: 33
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/08/22 19:29 By Gogol.
The administrator has disabled public write access.
 
#16166
Re:ClearOS Module - Bandwidth (Rule) Monitor 2 Years, 10 Months ago  
Jos got it in one

By default it will only show classes which have seen any traffic since the last firewall restart. I did consider adding a toggle so that you can display all the rules or just the active ones...an idea for the next release
Tim Burgess
Moderator
Posts: 5828
graph
User Online Now Click here to see the profile of this user
Last Edit: 2010/08/23 07:43 By timb80.
The administrator has disabled public write access.
 
#16173
Re:ClearOS Module - Bandwidth (Rule) Monitor 2 Years, 10 Months ago  
Thanks, and I forgot to mention: this is a great contribution!

i always used my own modified scripts (myshaper and tc-viewer) and decided to use the ClearOS bandwidth manager after I saw this.
Jos van de Ven
Junior Boarder
Posts: 33
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#16187
Re:ClearOS Module - Bandwidth (Rule) Monitor 2 Years, 10 Months ago  
Tim Burgess wrote:
...since the last firewall restart.

Thats actually perfect... was only a problem for me because I've been messing with the firewall so much lately.

Thanks also Jos - I did make the mod to see all classes (though perhaps not needed once my configuration is more static).
grubs
Senior Boarder
Posts: 41
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#16682
Re:ClearOS Module - Bandwidth (Rule) Monitor 2 Years, 9 Months ago  
Tim,

This is an excelent add-on. Especially with Jos' modification, which allowed me to quickly optimize my bandwith management rules without having to go through the drudgery of the tried and tested "try out and record the issues" approach.

How you find the time to single-handedly turning out all these major improvements and upgrades for the benefit of the community, I do not understand. I am impressed and stand ready to testify without hesitation, that a Tim Burgess add-on or upgrade is always worth while to test out.

Peter
Peter Broch
Platinum Boarder
Posts: 427
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#16689
Re:ClearOS Module - Bandwidth (Rule) Monitor 2 Years, 9 Months ago  
Peter, thank you for your kind words! i'm glad you like it - it makes it all worthwhile when I know people actual use them

So many ideas so little time...
Tim Burgess
Moderator
Posts: 5828
graph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
#16706
Re:ClearOS Module - Bandwidth (Rule) Monitor 2 Years, 9 Months ago  
UPDATE - due to popular demand you can now tick a box to show all the bandwidth rules. In addition it will also show you which subnet mask as well as IP your filter rules apply to (in case you have rules which span more than one IP).

If you didn't know you can actually create filters for IP blocks using the advanced bandwdith rule tab in CIDR form, w.x.y.z/aa. Simply leave the second field after the ":" blank. The plus side is you can have one rule which spans several IP's and they will effectively share bandwidth between them. Use an online CIDR calculator for more details
www.subnet-calculator.com/cidr.php

app-bandwidth-monitor-5.1-5.i386.rpm now available
Tim Burgess
Moderator
Posts: 5828
graph
User Online Now Click here to see the profile of this user
Last Edit: 2010/09/01 17:51 By timb80.
The administrator has disabled public write access.
 
#16722
Re:ClearOS Module - Bandwidth (Rule) Monitor 2 Years, 9 Months ago  
I have to agree with Peter B. I am amazed at all the enhancements you come up with, thank you very much.

I did note that with the update to 5.1-5 non-root users lost access to this feature. This was easy to rememdy of course but I didn't notice until after the fact.
MikeCindi
Senior Boarder
Posts: 69
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/09/01 23:19 By MikeCindi.Reason: corrected sentence structure to be more readable
The administrator has disabled public write access.
The plans of the diligent lead to profit...Pro. 21:5
 
#16782
Re:ClearOS Module - Bandwidth (Rule) Monitor 2 Years, 9 Months ago  
thank you!

UPDATE (again) Apologies for releasing another version so soon, but 5.1-6 now has colour coded rules by their priority values. Red is highest, down to blue being the lowest. This should help discern between rules. A rules priority is taken into account when it borrows more than it's rate from it's parent class, compared to a rule of lower priority. The IP fields also now show whether they are in fact source or destination addresses, as it is feasible to create rules with either.

Enjoy
ftp://starlane.gotdns.org/app-bandwidth-monitor-5.1-6.i386.rpm
Tim Burgess
Moderator
Posts: 5828
graph
User Online Now Click here to see the profile of this user
Last Edit: 2010/09/02 18:37 By timb80.
The administrator has disabled public write access.
 
Go to topPage: 1234567
  get the latest posts directly to your desktop