Bandwidth usage per device doesn't add up
Moderator: Moderators
-
- Posts: 6
- Joined: Wed Nov 11, 2020 1:00 pm
- Location: USA
Bandwidth usage per device doesn't add up
I have a Linksys WRT1900ACS with Gargoyle 1.12.0. I installed Gargoyle (from stock) on Nov 2. I decided to try out Gargoyle after having issues with incorrect totals in bwmon (on OpenWRT) and Yamon (on both OpenWRT and DD-WRT).
When displaying by month and sorting by host, some devices show data usage in Oct 2020 and Nov 2020 (despite the fact that I only installed Gargoyle on Nov 2). If I switch to displaying by day, it only shows usage back to Nov 2. If I switch to Total Bandwidth by month, it doesn't show any usage in Oct 2020
The sum of all the device usages for Nov 2020 is around half of what's listed in Total Bandwidth for the month. I have to add up both the Oct 2020 and Nov 2020 usage for all the devices to reach the total shown in Total Bandwidth. The value in Total Bandwidth aligns with the total usage reported by my ISP (unfortunately I installed Gargoyle after the month started so I can't tell if it's an exact match).
In the B/W distribution tab, October 2020 is listed twice at the top of the list and November is not in the list at all. If I select the second October 2020, it displays different data but switches back to the first October 2020 after about a second. I have to add both Sums from the 2 October 2020 tabs to match the Total Bandwidth from the Bandwidth usage tab. If I filter by day instead of month, it only gives me the expected days (November 2 through today). Interestingly, the total of the Sums from each day matches the total bandwidth for the month in the Bandwidth Usage tab (i.e. appears to be correct).
I'm also seeing a very small amount of usage for some devices in Nov 2019. Could this be due to data usage before the clock was set correctly after a power outage or on initial setup? Is there a way to delete just this data?
When displaying by month and sorting by host, some devices show data usage in Oct 2020 and Nov 2020 (despite the fact that I only installed Gargoyle on Nov 2). If I switch to displaying by day, it only shows usage back to Nov 2. If I switch to Total Bandwidth by month, it doesn't show any usage in Oct 2020
The sum of all the device usages for Nov 2020 is around half of what's listed in Total Bandwidth for the month. I have to add up both the Oct 2020 and Nov 2020 usage for all the devices to reach the total shown in Total Bandwidth. The value in Total Bandwidth aligns with the total usage reported by my ISP (unfortunately I installed Gargoyle after the month started so I can't tell if it's an exact match).
In the B/W distribution tab, October 2020 is listed twice at the top of the list and November is not in the list at all. If I select the second October 2020, it displays different data but switches back to the first October 2020 after about a second. I have to add both Sums from the 2 October 2020 tabs to match the Total Bandwidth from the Bandwidth usage tab. If I filter by day instead of month, it only gives me the expected days (November 2 through today). Interestingly, the total of the Sums from each day matches the total bandwidth for the month in the Bandwidth Usage tab (i.e. appears to be correct).
I'm also seeing a very small amount of usage for some devices in Nov 2019. Could this be due to data usage before the clock was set correctly after a power outage or on initial setup? Is there a way to delete just this data?
Re: Bandwidth usage per device doesn't add up
This sounds a lot like a bug which has already been fixed in a later version.
https://github.com/ericpaulbishop/gargo ... 604fe6e61d
You can manually apply that fix or move to the latest 1.12.x
The 2019 data yes I think you're correct. There's no practical ways of deleting it sorry.
https://github.com/ericpaulbishop/gargo ... 604fe6e61d
You can manually apply that fix or move to the latest 1.12.x
The 2019 data yes I think you're correct. There's no practical ways of deleting it sorry.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
-
- Posts: 6
- Joined: Wed Nov 11, 2020 1:00 pm
- Location: USA
Re: Bandwidth usage per device doesn't add up
I'm already running 1.12.0 (downloaded on Nov 2), which is the latest version I see on the download page.
Re: Bandwidth usage per device doesn't add up
You can also try the latest build 1.12.x from @ispyisail with the latest fixes on Jun 14: viewtopic.php?f=14&t=12458jason701802 wrote: ↑Wed Nov 11, 2020 10:30 pmI'm already running 1.12.0 (downloaded on Nov 2), which is the latest version I see on the download page.
Mirror: http://gargoyle.romanhk.cz/
Turris Omnia with OpenWrt 21.02 - Tested
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0
http://gargoyle.romanhk.cz custom builds by gargoyle users
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0
http://gargoyle.romanhk.cz custom builds by gargoyle users
-
- Posts: 6
- Joined: Wed Nov 11, 2020 1:00 pm
- Location: USA
Re: Bandwidth usage per device doesn't add up
I'm still seeing the same weirdness after updating. Should this fix the display of current data or only fix the collection of new data?
Re: Bandwidth usage per device doesn't add up
It should fix all of it, as the data is stored correctly just not displayed right.
Please ensure you clear your browser cache so you are getting the benefits of the latest code.
CTRL+F5
Please ensure you clear your browser cache so you are getting the benefits of the latest code.
CTRL+F5
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
-
- Posts: 6
- Joined: Wed Nov 11, 2020 1:00 pm
- Location: USA
Re: Bandwidth usage per device doesn't add up
I tried that even even a different browser. It still looks the same.
Re: Bandwidth usage per device doesn't add up
Can you please confirm the exact Gargoyle version you're running by checking the Status->Overview page?
Mine for example is:
Specifically interested in when it was built, and what git commit, and to make sure it is 1.12.x as well.
Can you also please provide the output of the following commands:
and
Mine for example is:
Code: Select all
Gargoyle Version:1.13.X (Built 20201010-0454 git@cefe71e9)
Can you also please provide the output of the following commands:
Code: Select all
bw_get -i bdist5-download-month-12 -h -a COMBINED
Code: Select all
uci show system.system.timezone
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
-
- Posts: 6
- Joined: Wed Nov 11, 2020 1:00 pm
- Location: USA
Re: Bandwidth usage per device doesn't add up
Code: Select all
Gargoyle Version:1.12.X (Built 20200610-0028 git@80899c80)
Code: Select all
/$ bw_get -i bdist5-download-month-12 -h -a COMBINED
bdist5-download-month-12 COMBINED
1624814 Tue Nov 5 06:18:46 2019 Sun Dec 1 00:00:00 2019
0 Sun Dec 1 00:00:00 2019 Wed Jan 1 00:00:00 2020
0 Wed Jan 1 00:00:00 2020 Sat Feb 1 00:00:00 2020
0 Sat Feb 1 00:00:00 2020 Sun Mar 1 00:00:00 2020
0 Sun Mar 1 00:00:00 2020 Wed Apr 1 00:00:00 2020
0 Wed Apr 1 00:00:00 2020 Fri May 1 00:00:00 2020
0 Fri May 1 00:00:00 2020 Mon Jun 1 00:00:00 2020
0 Mon Jun 1 00:00:00 2020 Wed Jul 1 00:00:00 2020
0 Wed Jul 1 00:00:00 2020 Sat Aug 1 00:00:00 2020
0 Sat Aug 1 00:00:00 2020 Tue Sep 1 00:00:00 2020
0 Tue Sep 1 00:00:00 2020 Thu Oct 1 00:00:00 2020
0 Thu Oct 1 00:00:00 2020 Sun Nov 1 00:00:00 2020
541610636473 Sun Nov 1 00:00:00 2020 (Now)
Code: Select all
/$ uci show system.system.timezone
system.system.timezone='PST8PDT,M3.2.0/2,M11.1.0/2'
Code: Select all
/$ bw_get -i bdist5-download-month-12 -h -a 192.168.1.104
bdist5-download-month-12 192.168.1.104
18649539012 Fri Oct 30 23:36:00 2020 Sun Nov 1 00:00:00 2020
17477471706 Sun Nov 1 00:00:00 2020 (Now)
Re: Bandwidth usage per device doesn't add up
Thanks for the data.
Looks like I only fixed that bug on one page (Bandwidth Usage, not Bandwidth Distribution).
I'm sure iSpyiSail or someone else will provide another community build (in due time) with the fix, however if you're comfortable, you can make the change yourself.
https://github.com/ericpaulbishop/gargo ... 966519cedd
Looks like I only fixed that bug on one page (Bandwidth Usage, not Bandwidth Distribution).
I'm sure iSpyiSail or someone else will provide another community build (in due time) with the fix, however if you're comfortable, you can make the change yourself.
https://github.com/ericpaulbishop/gargo ... 966519cedd
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.