Bandwidth Graph is Missing Plot Options

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

Post Reply
vask
Posts: 45
Joined: Tue Jul 21, 2009 4:33 pm

Bandwidth Graph is Missing Plot Options

Post by vask »

The whole reason I was interested in Gargoyle router in the first place was because of what looked like:
- (BLUE) Plot 1 with total bandwith being used
- (RED) Plot 2 with bandwidth of a particular static IP address on the same graph
- (GREEN) Plot 3 unset but I imagine that I could plot another static ip

See:
http://www.gargoyle-router.com/wiki/lib ... dwidth.jpg

However when I try viewing the Plot options at:
http://192.168.1.1/bandwidth.sh
The plot option drop downs show up and then immediately disappear.

I am thus only able to see what I think is the total bandwidth graph in BLUE.

Are there other add-ons for open-wrt that display realtime per-ip/per-mac bandwidth in a graph?

Am I misunderstanding the screenshot in that Gargoyle is unable to display realtime per-ip bandwidth?

See Also:
http://robin.forumup.it/about1950-robin.html

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: Bandwidth Graph is Missing Plot Options

Post by Eric »

Ah, I must apologize for not making this clearer. This is indeed possible, but in order to use that feature you need to specify static IPs in the connection/dhcp section. This is because you don't want to monitor the bandwidth of an IP that is not static (i.e. that has belonged to multiple hosts), since you would be monitoring the usage of a bunch of different people. Also, it's more technically challenging to monitor all IPs automatically ;-)

Go to connection/dhcp, set static IPs for the MAC addresses of the hosts on your network, and you should be able to monitor them in the bandwidth monitor. It may be necessary to reboot (system/reboot section) after you first specify the IPs in the dhcp section before they show up (that's a bug I still need to fix).

I should add that I am working towards a solution that doesn't require you to set static ips (though it's still a good idea to set static IPs for reasons noted above)... but that won't be available for at least another month yet.

vask
Posts: 45
Joined: Tue Jul 21, 2009 4:33 pm

Re: Bandwidth Graph is Missing Plot Options

Post by vask »

I was finally able to setup the Bandwidth Graph to monitor static IPs. However, this was not without difficulty for some of the reasons described below:
- required reboot
- required navigation to different pages
- required setup MAC/IP combinations just so I can view the IP bandwidth in the graph.
- I could only get this to work by assigning the same IP addresses to the mac addresses they already had. (I could NOT setup arbitrary IP addresses per mac because the router doesn't force the device to comply.)
- It took to much time to add another static route to be useful to me as simply blocking users 1 by one while monitoring the total bandwidth would have been much more useful.

Also, I do realize you are working on a solution so that you don't have to setup static IPs like I just did... This is great if you mean that I will be able to select any active IP connection without any required setup and be able to see the corresponding bandwidth in the graph. I explore a little bit more about what I am looking for below:

Ideal Bandwidth Monitoring Solution
-----------------------------------
Key Elements:
- Realtime
- Single Page
- No Reboot

Process:
1. Show graph of total bandwidth being used.
2. Show a list of all active IP/MAC/Host_Name.
3. Select from that list which IP/Mac/Host_Name you want, and immediately either:
(Option 1) show a graph of the of the corresponding bandwidth.
(Option 2) ban/unban the corresponding device from the network. (From a change in the graph of total bandwidth I can tell how much bandwidth that user was taking.)

Actually (Option 2) can be accomplished already by combining elements together already implemented in Gargoyle-Router including:
[Upload/Download Bandwidth Usage] from http://192.168.1.1/bandwidth.sh
[Hosts With Active Connections] from http://192.168.1.1/hosts.sh
[Access Restrictions] from http://192.168.1.1/restriction.sh

NOTES:
- A Single graph with upload and download bandwidth together would be better to conserve space.
- Combining [Hosts With Active Connections] and the ability to ban/unban users would further conserve space and might eliminate the need for the extra page of [Access Restrictions]

If I was to design my own webpage to support (Option 2) I would probably just show 1 graph with total download bandwidth and total upload bandwidth at the top of the page and have a list of active connections/banned users below... Of course the ability to ban/unban users would be right there in the listings...

See My Proposal at:
http://www.gargoyle-router.com/phpbb/vi ... ?f=7&t=217

vask
Posts: 45
Joined: Tue Jul 21, 2009 4:33 pm

Re: Bandwidth Graph is Missing Plot Options

Post by vask »

Eric wrote:This is because you don't want to monitor the bandwidth of an IP that is not static (i.e. that has belonged to multiple hosts), since you would be monitoring the usage of a bunch of different people.
Actually, this IS exactly what I want to do... I don't care if multiple hosts are alternating usage of the same IP. My network is implemented at a hostel (4 story building). Hosts on my network constantly come and go, so it is NOT at all practical for me to setup static routes for devices.

philhop
Posts: 2
Joined: Thu Nov 26, 2009 2:53 am

Re: Bandwidth Graph is Missing Plot Options

Post by philhop »

Hey Guy pretty new to this firmware on my DIR-300 what a painful install, but as the above post I have set all static ips in DHCP but still cannot get the graph to bloody work.

I have rebooted and still no option...

Any lite would be greatly appreciated happy to give out the ip to some one.

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: Bandwidth Graph is Missing Plot Options

Post by Eric »

What version are you using?

You responded to a fairly old post... for one thing in the newer 1.1.x versions there IS automatic monitoring of IP addresses (no need for setting static IPs).

Is your problem that there are no dropdowns or that none of the graphs display at all? Also, if using 1.1.X, is the bandwidth disribution section working, or is that blank too? Finally, what browser are you using? If using IE, you'll need the adobe SVG plugin to view graphs correctly.

A screenshot would also be very helpful.

philhop
Posts: 2
Joined: Thu Nov 26, 2009 2:53 am

Re: Bandwidth Graph is Missing Plot Options

Post by philhop »

Hey Sorry for the late reply I was using a old version so I am going to try to upgrade now, it was funny was working at home when deployed it caused a issue will write back soon.

Post Reply