YAMon 3.0... Usage Reporting by device per hr/day/mo

Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> General Questions
Goto page Previous  1, 2, 3 ... 142, 143, 144 ... 149, 150, 151  Next
Author Message
eyalsi
DD-WRT Novice


Joined: 12 Mar 2018
Posts: 12

PostPosted: Tue Mar 13, 2018 20:30    Post subject: Reply with quote
ddaniel51 wrote:
@eyalsi

Is this your main router or an AP?

How is it connected to the internet?


it's an AP, connected to an ADSL modem.
Sponsor
ddaniel51
DD-WRT Guru


Joined: 19 Feb 2013
Posts: 1464

PostPosted: Wed Mar 14, 2018 0:16    Post subject: Reply with quote
eyalsi wrote:
ddaniel51 wrote:
@eyalsi

Is this your main router or an AP?

How is it connected to the internet?


it's an AP, connected to an ADSL modem.


If this is configured as an Access Point then what is your main router?

_________________
Segment 1 XR700 10Gb LAN, 1Gb WAN ISP BS
Wired AP 1 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 2 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 3 Unifi Wifi 6 LR US 1Gb LAN
Syslog Services Asustor 7110T NAS 10GB
NetGear XS716T 10GB Switch
download1.dd-wrt.com/dd-wrtv2/downloads/betas/ (Brain Slayer)
YAMon https://usage-monitoring.com/index.php
al_c
DD-WRT Guru


Joined: 13 Apr 2013
Posts: 2134
Location: Ottawa Canada

PostPosted: Wed Mar 14, 2018 3:40    Post subject: Re: which version should be used? Live download info is empt Reply with quote
ddaniel51 wrote:
eyalsi wrote:
I installed version 3.4.3. It worked, but the download information from all devices showed 0.
Tried to download and install 3.3.6, but it seems that the versions.sh file indicates 3.4.3 version so it fails. fixing it just get into various version problems...

Any idea why all downloads are empty for all devices in 3.4.3?

THANKS!!


Looks like versions.sh is out of sync with the rest of the files and it needs to match as it sets pointers for other scripts.

In /includes/versions.sh just change these lines to match whatever version you are running until Al can get them synced on his site.

_version='3.4.4'
_file_version='3.4'

or

_version='3.4.3'
_file_version='3.4'

or

_version='3.3.6'
_file_version='3.3'

Dave
I have fixed the server so that the 3.4.4 files are properly downloaded and compared now.

If you are testing 3.4.x, I suggest that you run /opt/install.sh dev again to get the latest version,

Thanks to everyone for their assistance shaking the bugs out of this one.

Al
eyalsi
DD-WRT Novice


Joined: 12 Mar 2018
Posts: 12

PostPosted: Wed Mar 14, 2018 7:57    Post subject: Reply with quote
eyalsi wrote:
ddaniel51 wrote:
@eyalsi

Is this your main router or an AP?

How is it connected to the internet?


it's an AP, connected to an ADSL modem.


Sorry, my mistake! It's my main router. All wired and wireless communication is going through it. It is connected to an ADSL modem.
Just installed 3.4.4, and facing the same problem with zero downloads... ;(
ddaniel51
DD-WRT Guru


Joined: 19 Feb 2013
Posts: 1464

PostPosted: Wed Mar 14, 2018 9:05    Post subject: Reply with quote
eyalsi wrote:

Sorry, my mistake! It's my main router. All wired and wireless communication is going through it. It is connected to an ADSL modem.
Just installed 3.4.4, and facing the same problem with zero downloads... ;(


Are you running a VPN perchance?

Al, jump in here.

_________________
Segment 1 XR700 10Gb LAN, 1Gb WAN ISP BS
Wired AP 1 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 2 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 3 Unifi Wifi 6 LR US 1Gb LAN
Syslog Services Asustor 7110T NAS 10GB
NetGear XS716T 10GB Switch
download1.dd-wrt.com/dd-wrtv2/downloads/betas/ (Brain Slayer)
YAMon https://usage-monitoring.com/index.php
eyalsi
DD-WRT Novice


Joined: 12 Mar 2018
Posts: 12

PostPosted: Wed Mar 14, 2018 9:42    Post subject: Reply with quote
ddaniel51 wrote:
eyalsi wrote:

Sorry, my mistake! It's my main router. All wired and wireless communication is going through it. It is connected to an ADSL modem.
Just installed 3.4.4, and facing the same problem with zero downloads... ;(


Are you running a VPN perchance?

Al, jump in here.

No VPN.
edboivin
DD-WRT Novice


Joined: 14 Dec 2014
Posts: 11
Location: Canada

PostPosted: Wed Mar 14, 2018 11:24    Post subject: Reply with quote
Similar issue to yoyoma2, I also have an ispBillingDay set to 29 that has worked great until this year's rollover from Feb to March. It seems like data is being collected with the daily and monthly files appearing as they should but the reports are blank (last line shows Could not open monthly data file?!?). But the monthly data file *is* there and content appears normal with daily entries from March 1 to today.

Will 3.4.4 help with this issue?

Thanks,
Ed

yoyoma2 wrote:
al_c wrote:
*many* years ago my son was struggle with proper pronouns - i.e., when to use he vs him...
He started a story with `him did...`
I interrupted and said `no he did`
My son re-started and said `him did...`
I interrupted and corrected again.
This cycle repeated a couple more times and then finally, in frustration, he exclaimed `no daddy, him were a girl...`
To which I had to respond `OK, now we have a different problem`
Question

al_c wrote:
_ispBillingDay by definition is the *first* day of your billing cycle... your image shows that your billing cycle *ends* on the 29th which means that your _ispBillingDay value should be `30`
No. This ISP ends the billing cycle as soon as the 29th starts so _ispBillingDay=29 worked "perfectly" until this February which had no 29th. Actually the ISP's servers are either not in my timezone or reset at 11pm instead of midnight and don't use daylight savings time. Yamon's reset is off by an hour except during DST. To be perfect, Yamon would need to ask for the time/hour of billing rollover and whether or not the ISP uses DST. Probably not worth the extra complexity for an hour difference.

al_c wrote:
If you've set _organizeData='2' in your config.file, the first interval for 2018 would run from Jan 30-Feb 28 (and the data files would be stored in /data/2018/01); the second interval, with data files for Mar 1-30 should be stored in /data/2018/02 (which admittedly is a little oxymoronic)

I have not testing this exhaustively but that's the way it should work... If it is not, please send screenshots, data files, etc. to questions@usage-monitoring.com
Thanks for the very useful info. I'll keep an eye on where the data goes.
eyalsi
DD-WRT Novice


Joined: 12 Mar 2018
Posts: 12

PostPosted: Thu Mar 15, 2018 14:44    Post subject: Re: which version should be used? Live download info is empt Reply with quote
eyalsi wrote:
I installed version 3.4.3. It worked, but the download information from all devices showed 0.
Tried to download and install 3.3.6, but it seems that the versions.sh file indicates 3.4.3 version so it fails. fixing it just get into various version problems...

Any idea why all downloads are empty for all devices in 3.4.3?

THANKS!!

Pushing this one up again Smile, does anyone have an idea how can I debug the missing download information? I'm using now the latest version - 3.4.4 all is working, getting nice upload graphs, but no download information.
jtp10181
DD-WRT Novice


Joined: 07 Sep 2009
Posts: 31

PostPosted: Thu Mar 15, 2018 20:24    Post subject: Re: which version should be used? Live download info is empt Reply with quote
eyalsi wrote:
eyalsi wrote:
I installed version 3.4.3. It worked, but the download information from all devices showed 0.
Tried to download and install 3.3.6, but it seems that the versions.sh file indicates 3.4.3 version so it fails. fixing it just get into various version problems...

Any idea why all downloads are empty for all devices in 3.4.3?

THANKS!!

Pushing this one up again :), does anyone have an idea how can I debug the missing download information? I'm using now the latest version - 3.4.4 all is working, getting nice upload graphs, but no download information.


I'm using 3.4.4 as well, working fine here, are you getting any errors in the log? Have you checked the data files to see how they look?
ddaniel51
DD-WRT Guru


Joined: 19 Feb 2013
Posts: 1464

PostPosted: Fri Mar 16, 2018 0:24    Post subject: Re: which version should be used? Live download info is empt Reply with quote
eyalsi wrote:

here are the details of my router/installation:
var router='Asus RT-AC66U'
var firmware='DD-WRT 35244 giga'


Giga? I hope you mean this one:
ftp://ftp.dd-wrt.com/betas/2018/03-05-2018-r35244/asus-rt-ac66u/

_________________
Segment 1 XR700 10Gb LAN, 1Gb WAN ISP BS
Wired AP 1 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 2 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 3 Unifi Wifi 6 LR US 1Gb LAN
Syslog Services Asustor 7110T NAS 10GB
NetGear XS716T 10GB Switch
download1.dd-wrt.com/dd-wrtv2/downloads/betas/ (Brain Slayer)
YAMon https://usage-monitoring.com/index.php
yoyoma2
DD-WRT User


Joined: 24 Sep 2016
Posts: 372

PostPosted: Fri Mar 16, 2018 14:50    Post subject: Reply with quote
edboivin wrote:
Similar issue to yoyoma2, I also have an ispBillingDay set to 29 that has worked great until this year's rollover from Feb to March. It seems like data is being collected with the daily and monthly files appearing as they should but the reports are blank (last line shows Could not open monthly data file?!?). But the monthly data file *is* there and content appears normal with daily entries from March 1 to today.

Will 3.4.4 help with this issue?
I'm running yamon 3.4.4 now and the reports are still blank. It seems an ispBillingDay of 29 does not work for billing period 2 which doesn't have a 29th.
eyalsi
DD-WRT Novice


Joined: 12 Mar 2018
Posts: 12

PostPosted: Fri Mar 16, 2018 18:20    Post subject: Re: which version should be used? Live download info is empt Reply with quote
ddaniel51 wrote:

Giga? I hope you mean this one:
ftp://ftp.dd-wrt.com/betas/2018/03-05-2018-r35244/asus-rt-ac66u/

Yes, this is the exact firmware I installed.
The router data is taken from router.js
jtp10181
DD-WRT Novice


Joined: 07 Sep 2009
Posts: 31

PostPosted: Fri Mar 16, 2018 21:32    Post subject: Reply with quote
yoyoma2 wrote:
edboivin wrote:
Similar issue to yoyoma2, I also have an ispBillingDay set to 29 that has worked great until this year's rollover from Feb to March. It seems like data is being collected with the daily and monthly files appearing as they should but the reports are blank (last line shows Could not open monthly data file?!?). But the monthly data file *is* there and content appears normal with daily entries from March 1 to today.

Will 3.4.4 help with this issue?
I'm running yamon 3.4.4 now and the reports are still blank. It seems an ispBillingDay of 29 does not work for billing period 2 which doesn't have a 29th.


Sounds like Maybe the script backend handled it OK, but the web interface is confused. Could you cd to your data folder 2018 and issue the command `ls -R` ? I am curious to see how it stored the files. I could shift mine around to replicate it and maybe dig into it a little more.
Not sure if Al is working on this or not already?
yoyoma2
DD-WRT User


Joined: 24 Sep 2016
Posts: 372

PostPosted: Sat Mar 17, 2018 0:06    Post subject: Reply with quote
Code:
2018            users.js

./2018:
02  03

./2018/02:
2018-02-mac_data.js        2018-03-12-hourly_data.js
2018-02-mac_data2.js       2018-03-13-hourly_data.js
2018-03-09-hourly_data.js  2018-03-14-hourly_data.js
2018-03-10-hourly_data.js  2018-03-15-hourly_data.js
2018-03-11-hourly_data.js  2018-03-16-hourly_data.js

./2018/03:
2018-03-09-hourly_data.js  2018-03-mac_data2.js
2018-03-mac_data.js
jtp10181
DD-WRT Novice


Joined: 07 Sep 2009
Posts: 31

PostPosted: Sat Mar 17, 2018 1:15    Post subject: Reply with quote
Is this the error you are both getting? I replicated the file structure here, going to see if I can get it figured out.

*** I tested setting my billing date to 28 and that fixed it, seems any "out of range" date for the previous month will break it. For you the current billing month is '02' which would have started 2/29, which does not exist, and that's its problem I'm pretty sure. Seeing if I can figure out this javascript and fix it.



2018-03-16 20_12_40-YAMon__ Usage monitoring by group and device....png
 Description:
 Filesize:  26.88 KB
 Viewed:  2529 Time(s)

2018-03-16 20_12_40-YAMon__ Usage monitoring by group and device....png


Goto page Previous  1, 2, 3 ... 142, 143, 144 ... 149, 150, 151  Next Display posts from previous:    Page 143 of 151
Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum