1. Subscriptions
  2. Services
  3. Hardware
  4. Support

ClearFoundation

Forums
Welcome, Guest
ClearOS Module - Live Bandwidth Graph
(1 viewing) 1 Guest
Go to bottomPage: 1234567
TOPIC: ClearOS Module - Live Bandwidth Graph
*
#26852
ClearOS Module - Live Bandwidth Graph 10 Months, 1 Week ago  
Ever wanted a nice live graph of network activity across your interfaces? now you can

This mod patches the webconfig dashboard to display a live dynamic graph for each interface. It uses the excellent open source chart from HighCharts (www.highcharts.com) which is free for non-profit use.


You can deselect any of the lines to show only one interface It updates every 2seconds, for a rolling period of 40seconds.

Install
Setup the community repo as per instructions HERE

Code:

yum --enablerepo=timb install app-bandwidth-graph
wget http://www.timburgess.net/files/dashboard-index.php.v2.patch
wget http://www.timburgess.net/files/dashboard-head.inc.patch
patch -p0 < dashboard-index.php.v2.patch
patch -p0 < dashboard-head.inc.patch



Enjoy! feedback welcome
Tim Burgess
Moderator
Posts: 4254
graph
User Online Now Click here to see the profile of this user
Last Edit: 2011/04/26 04:25 By timb80.
The administrator has disabled public write access.
 
#26856
Re:ClearOS Module - Live Bandwidth Graph 10 Months, 1 Week ago  
Good work Tim,

Thanks for another great addition.
So far there is nothing else to report than that it works like a charm ... hehe

Greetings,

John
John
Platinum Boarder
Posts: 1255
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#26862
Re:ClearOS Module - Live Bandwidth Graph 10 Months, 1 Week ago  
Tim,

Excellent addon that works fine. Only issue I can see is that it does not pick-up my timezone.

I am 7 hours off from the GMT time labels shown. Not a major issue by any means but none-the-les. FYI.

Peter
Peter Broch
Platinum Boarder
Posts: 356
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#26867
Re:ClearOS Module - Live Bandwidth Graph 10 Months, 1 Week ago  
Tim,


Thanks for all you do making the software better.

I can't seem to get to the wget www.timburgess.net/files/dashboard-index.php.patch

It isn't resolving from any of my locations.

Thank you,

Kevin
Kevin Kizer
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#26869
Re:ClearOS Module - Live Bandwidth Graph 10 Months, 1 Week ago  
Hi Kevin, hmm can you try timburgess.net/files/dashboard-index.php.patch

Edit: Thanks Peter and John, Peter possibly a timezone issue with PHP -i'll investigate.
Tim Burgess
Moderator
Posts: 4254
graph
User Online Now Click here to see the profile of this user
Last Edit: 2011/04/15 12:15 By timb80.
The administrator has disabled public write access.
 
#26870
Re:ClearOS Module - Live Bandwidth Graph 10 Months, 1 Week ago  
I tried that and still can't resolve. I can get to your FTP site but anything on http is not resolving. Strange, i tried from here and from a site in east Tennessee.

Actually from the east TN site I can ping it now.
Kevin Kizer
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2011/04/15 12:38 By st1le.
The administrator has disabled public write access.
 
#26907
Re:ClearOS Module - Live Bandwidth Graph 10 Months, 1 Week ago  
Hi Tim,

While copying a large file this is what it displayed after a min or so:


Initially it was showing a more correct speed of about 7mb/s on a 10/100 LAN.
When refreshing the page it showed the correct speed again for 15 seconds, before it returned to the low speeds like in the graphic above.

Please advice,

John
John
Platinum Boarder
Posts: 1255
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2011/04/16 10:44 By Blanco.
The administrator has disabled public write access.
 
#26914
Re:ClearOS Module - Live Bandwidth Graph 10 Months, 1 Week ago  
Does it happen for every file transfer across your LAN?

The script measures the bandwidth before and after a small amount of time has passed. It's possible if your machine is under high load that it's not perfoming quite as anticipated. What's your typical load during a 7MB/s transfer?

Alternatively your system clock is misbehaving!
Tim Burgess
Moderator
Posts: 4254
graph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
#26929
Re:ClearOS Module - Live Bandwidth Graph 10 Months, 1 Week ago  
Thanks Tim, very nice.

There are a few problems I am having with this:

1. When connecting with IE8 or IE9 the Dashboard page never fully resolves thus the top menu is unusable. Also there is a security warning and if I select "yes" (i.e. use only securely sent information) then of course the graph does not display.

2. On the actual server's console (COS 5.2) the graph shrinks/compresses to the right with every update so after 32 updates it expands out again then on the 74th update it goes off the screen to the right leaving only the framework and part of the grid on the far right edge of the screen.

3. Connection with FF 3.6.15 it seems to be okay except that of course there is a security warning and ...

4. The left side menu stays fully expanded using any connection/browser mentioned above.
MikeCindi
Senior Boarder
Posts: 64
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2011/04/16 20:08 By MikeCindi.
The administrator has disabled public write access.
The plans of the diligent lead to profit...Pro. 21:5
 
#26930
Re:ClearOS Module - Live Bandwidth Graph 10 Months, 1 Week ago  
Hi Tim,

AFAIK, it happens with every large transfer and I also noticed that when the bandwidth maxes out, that I have connection problems to fe the webconfig and other stuff.
    It's setup in standalone mode on a very bad setup network (that I hope to change, rather sooner than later ).
    Could that also be a cause of this problem ... ?!?
    Can you please explain how I can find the typical load ... ?!?
    If the system clock is misbehaving ... I can try to find some scanning software to confirm that ... but any tips are welcome.

Please advice,

John
John
Platinum Boarder
Posts: 1255
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1234567
  get the latest posts directly to your desktop