YAMon v4... usage totals by device

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Goto page Previous  1, 2, 3 ... , 16, 17, 18  Next
Author Message
mac913
DD-WRT Guru


Joined: 02 May 2008
Posts: 1848
Location: Canada

PostPosted: Wed Feb 03, 2021 0:40    Post subject: Reply with quote
ddaniel51 wrote:
ggee wrote:
Getting server side errors from DB.

https://usage-monitoring.com/db/loSettings.php
is returning Error 500.

Is this the end? Is there a way to host DB ourselves?


Remove the DB key in config.file and pretend it was never there.


I was having issues too and stopped using it for a couple of days now, removing DB key did the trick. Thanks.

_________________
Home Network on Telus 1Gb PureFibre - 10GbE Copper Backbone
2x R7800 - Gateway & WiFi & 3xWireGuard - DDWRT r53562 Std k4.9

Off Site 1

R7000 - Gateway & WiFi & WireGuard - DDWRT r54517 Std
E3000 - Station Bridge - DDWRT r49626 Mega K4.4

Off Site 2

R7000 - Gateway & WiFi - DDWRT r54517 Std
E2000 - Wired ISP IPTV PVR Blocker - DDWRT r35531


YAMon 3.4.6 | DNSCrypt-Proxy V2
Sponsor
salzrat
DD-WRT Novice


Joined: 20 Dec 2014
Posts: 35

PostPosted: Sun Mar 07, 2021 16:10    Post subject: Reply with quote
After reinstalling yamon 4.0.7 (on my netgear wndr3700 with newest build) a couple of times, I think data collection works (I checked the files on the router, they are updated fine every 4 minutes).

But the browser refresh doesn't seem to work properly. It keeps sitting at the state I loaded the page.

I found that when I click on the "view contents of hourly data file" button, and press F5 there, then the next refresh will usually show the updated data. But that's a bit cumbersome when you want to show live data...

Tried with both firefox and chrome...
peppo
DD-WRT Novice


Joined: 26 Jul 2015
Posts: 27

PostPosted: Sat Mar 20, 2021 19:09    Post subject: Messed up users.js Reply with quote
YAMon 4.07 running on my Netgear R7800.
Recently I exported the users.jf file from my browser and then replaced it in /opt/YAMon4/data/users.js
(sadly, without stopping yamon)

Now are the "Open Devices Tab" and "Open the Monthly Usage tab" in the Webinterface not working. The Buttons are selected but not working.
(not showing the selected data)

The users.js file is apparently updated.
Code:
-rwxrwxrwx    1 root     root        4.7K Mar 20 19:56 users.js

Code:
root@StellarCom:/opt/YAMon4/data# cat users.js
var users_created="2021-03-12 12:47:10"
var users_updated="2021-03-20 19:56:01"

ud_a({"mac":"c8:ff:77:e2:XX:XX","ip":"192.168.1.208,172.16.1.18","owner":"DevicesWIFI","name":"Dyson AirCleaner","colour":"","added":"2021-03-12 13:24:02","updated":"2021-03-14 17:00:00","last-seen":"undefined"})


Have somebody an idea what is wrong here?

thanks
peppo
ddaniel51
DD-WRT Guru


Joined: 19 Feb 2013
Posts: 1464

PostPosted: Sat Mar 27, 2021 12:06    Post subject: Reply with quote
@peppo

Those tabs never worked for me either.

Messing with users.js usually means throwing all the data out and starting over.

I finally gave up and went back to YAMon 3.4 series and it is happily running.

_________________
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
peppo
DD-WRT Novice


Joined: 26 Jul 2015
Posts: 27

PostPosted: Sat Apr 03, 2021 9:50    Post subject: Reply with quote
@ddaniel51

I am also back to 3.4.7

I found a bug on GitHub describing the same situation with users.js

https://github.com/al-caughey/YAMon-v4/issues/26

Code:
Exporting users.js from the GUI then stopping yamon, replacing the file on the router and starting yamon does not work as expected. After this procedure the "Devices" tab does not work anymore.

I compared the format of the exported users.js and the local file on the router and they seems to be different.
The exported users.js contains lines like this:

ud_a({"mac":"un:kn:ow:n0:0m:ac","ip":"::/0,0.0.0.0/0","owner":"Unknown","name":"No Matching Device","colour":"","added":"2020-09-04 11:25:56","updated":"","last-seen":"undefined"})
and the local users.js file on the router looks like this:
mac2ip({ "id":"un:kn:ow:n0:0m:ac-0.0.0.0/0", "name":"No Matching Device", "active":"1", "added":"2020-09-04 11:25:56", "updated":"" }
ddaniel51
DD-WRT Guru


Joined: 19 Feb 2013
Posts: 1464

PostPosted: Wed Apr 07, 2021 2:49    Post subject: Reply with quote
Is it Samhaim?

With the addition of a dual WAN port Cisco RV340 as my front end router (Preparation for StarLink Satellite) and the R9000 double natting thru it I ended up with the test bed R9000 also double natting the RV340. Even double natted I managed a speed test with 940Mb throughput. Good enough.

Normally I use the R9000 test bed to insure a new build boots properly before updating the main R9000.

Today I noticed it still had a USB SSD attached which held the /opt and /jffs directories including a YAMon4 installation. Looking at the logs it had not successfully run for a year though the boot up run commands were still in effect on the router.

The log indicated a strange error which didn't allow it to start.

Following the start sequence I found a 1 second sleep command in update-reports.sh for allowing needed files to be created and settled before continuing and a notation it might need to be adjusted.

I set the sleep to 5 seconds, ssh'd into the router and hit the start button. Viola! It ran and started updating.

Idle conjecture thinks as the firmware builds improved we might have hit a tipping point in performance requiring more sleep time.

Further inspection found other files with similar sleep points and notes.

YMMV

_________________
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
ddaniel51
DD-WRT Guru


Joined: 19 Feb 2013
Posts: 1464

PostPosted: Sat Apr 10, 2021 5:46    Post subject: Reply with quote
peppo wrote:
@ddaniel51

I am also back to 3.4.7

I found a bug on GitHub describing the same situation with users.js

https://github.com/al-caughey/YAMon-v4/issues/26

Code:
Exporting users.js from the GUI then stopping yamon, replacing the file on the router and starting yamon does not work as expected. After this procedure the "Devices" tab does not work anymore.


I took a look at the exported users.js from 4.07 and see that Al did the export in 3.47 format and not 4.07 format so it is un-usable in 4.07. Another "Al" bug.

You can use the info in the file though to manually update an offline version of the 4.07 users.js. Pain in the rear as it may be.

_________________
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
peppo
DD-WRT Novice


Joined: 26 Jul 2015
Posts: 27

PostPosted: Sat Apr 10, 2021 7:45    Post subject: Reply with quote
ddaniel51 wrote:
peppo wrote:
@ddaniel51

I am also back to 3.4.7

I found a bug on GitHub describing the same situation with users.js

https://github.com/al-caughey/YAMon-v4/issues/26

Code:
Exporting users.js from the GUI then stopping yamon, replacing the file on the router and starting yamon does not work as expected. After this procedure the "Devices" tab does not work anymore.


I took a look at the exported users.js from 4.07 and see that Al did the export in 3.47 format and not 4.07 format so it is un-usable in 4.07. Another "Al" bug.

You can use the info in the file though to manually update an offline version of the 4.07 users.js. Pain in the rear as it may be.



Yes... I looked into, and for me, it is not worth the effort.
Sadly, YAMon looks like abandoned für now...
Prog
DD-WRT Novice


Joined: 22 Apr 2021
Posts: 1
Location: Hamden, CT

PostPosted: Thu Apr 22, 2021 20:40    Post subject: Reply with quote
I'm a bit behind the times here. Finally got DD-WRT running my home network (again) with YaMon 4 in the past week. I was trying to get a key but it doesn't pop up the dialog for me to paste into the config (tried both FF and IE11). If I'm reading the last couple pages right, it seems that the server database has been down for a little while. Is that right?

In that case, and with the apparent bugs involving users.js, should I just print off my device list and pray that nothing happens to my local variable then?
Gone2Maui
DD-WRT Novice


Joined: 23 Apr 2021
Posts: 3

PostPosted: Fri Apr 23, 2021 22:26    Post subject: Reply with quote
Unable to get YAMon4 to install on my Linksys WRT3200 and to a USB 8GB drive formatted to EXT4.

I tried using the "Open Terminal" option in WinSCP but it won't let me enter anything to agree to the install on this window attached.

It does create the YAMon directory but not with the necessary files.

I have tried to use PSFTP and while I can get it to connect to my server with the user name "root", it will not let me input a password.

All help appreciated.



4-23-2021 3-16-46 PM.png
 Description:
 Filesize:  24.56 KB
 Viewed:  4834 Time(s)

4-23-2021 3-16-46 PM.png



4-23-2021 3-27-25 PM.png
 Description:
 Filesize:  25.59 KB
 Viewed:  4835 Time(s)

4-23-2021 3-27-25 PM.png


ddaniel51
DD-WRT Guru


Joined: 19 Feb 2013
Posts: 1464

PostPosted: Sun Apr 25, 2021 15:41    Post subject: Reply with quote
Download Putty for Windows and telnet to the router with it for an interactive console session.



Gone2Maui wrote:
Unable to get YAMon4 to install on my Linksys WRT3200 and to a USB 8GB drive formatted to EXT4.

I tried using the "Open Terminal" option in WinSCP but it won't let me enter anything to agree to the install on this window attached.

It does create the YAMon directory but not with the necessary files.

I have tried to use PSFTP and while I can get it to connect to my server with the user name "root", it will not let me input a password.

All help appreciated.

_________________
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
ddaniel51
DD-WRT Guru


Joined: 19 Feb 2013
Posts: 1464

PostPosted: Sun Apr 25, 2021 15:46    Post subject: Reply with quote
I switched back to 3.47 and didn't bother with the key. Works fine.


Prog wrote:

In that case, and with the apparent bugs involving users.js, should I just print off my device list and pray that nothing happens to my local variable then?

_________________
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
Gone2Maui
DD-WRT Novice


Joined: 23 Apr 2021
Posts: 3

PostPosted: Sun Apr 25, 2021 18:02    Post subject: Reply with quote
Thanks. Not sure how to use Putty. And ideas on how to get a newbie started with Putty?


ddaniel51 wrote:
Download Putty for Windows and telnet to the router with it for an interactive console session.



Gone2Maui wrote:
Unable to get YAMon4 to install on my Linksys WRT3200 and to a USB 8GB drive formatted to EXT4.

I tried using the "Open Terminal" option in WinSCP but it won't let me enter anything to agree to the install on this window attached.

It does create the YAMon directory but not with the necessary files.

I have tried to use PSFTP and while I can get it to connect to my server with the user name "root", it will not let me input a password.

All help appreciated.
ddaniel51
DD-WRT Guru


Joined: 19 Feb 2013
Posts: 1464

PostPosted: Wed Apr 28, 2021 4:43    Post subject: Reply with quote
Gone2Maui wrote:
Thanks. Not sure how to use Putty. And ideas on how to get a newbie started with Putty?


Close your eyes, think real hard and see if the words "Google putty help" comes to you.

_________________
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
Gone2Maui
DD-WRT Novice


Joined: 23 Apr 2021
Posts: 3

PostPosted: Fri Apr 30, 2021 13:46    Post subject: Capturing only a very small portion of actual usage YAMon V4 Reply with quote
Yesterday I was able to install YAMon v4 on my Linksys WRT3200ACM. The web reports show all the devices accessing the internet, but only captures a small portion of the actual usage. Per my ISP, and my own estimates, yesterday I downloaded 24GB. However the reports for yesterday only show 345MB.

Any ideas? Thanks!
Goto page Previous  1, 2, 3 ... , 16, 17, 18  Next Display posts from previous:    Page 17 of 18
Post new topic   Reply to topic    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