It seems the hourly data file is a problem. Also the h2m.sh script doesn't solve the warning about gaps. I've seen errors change between first install and days later so whatever yamon does at midnight with a 29th isp billing date should be tested.
It seems the hourly data file is a problem. Also the h2m.sh script doesn't solve the warning about gaps. I've seen errors change between first install and days later so whatever yamon does at midnight with a 29th isp billing date should be tested.
On your settings tab, please check the "Use `/dev` JS & CSS files" option in the `Debug` area.
Then reload your reports with a <ctrl>+F5 (to clear the cache)...
Do things load properly now? It works in my test environment. I'd like to confirm it is working in yours before pushing the updates to the current server
If I stop YAMon, rename users.js, and start YAMon the same errors occur.
The Daily Usage, Monthly Usage and Open the Devices tabs do not open.
Sorry for the grief. There was a *horrible* bug in v3.4.3 that clobbered your users.js with all of those extra (dup) entries. v3.4.4 fixes that issue.
To cleanse your users.js file,
1. open a PuTTY or equivalent terminal app window
2. stop the script (by running /opt/YAMon3/shutdown.sh)
3. then run
Code:
cp /opt/YAMon3/data/users.js /opt/YAMon3/data/users.js.bak
cat /opt/YAMon3/data/users.js | grep -v "\"mac\":\"0\"" | sed -e "s~\" (dup),~\",~g" | sed -e "s~, (dup)\"~,\"~g" | sed -e "s~\" (dup)~\"~g" > /opt/YAMon3/data/users2.js
This will backup your existing file and clear out *almost* all of the extraneous entries... you should check the file to make sure everything is copacetic (in particular, look for lingering (dup)s hiding within mac addresses).
Once your users.js is good, re-run `/opt/install dev` to update to v3.4.4.
Thanks for your patience.
Al
Last edited by al_c on Sat Mar 17, 2018 22:43; edited 1 time in total
cat cp ..... does not make sense. is it a typo?
I get a users2.js that is empty. Assuming I figure out how to get the "cat cp" command working do I rename users2.js
cat cp ..... does not make sense. is it a typo?
I get a users2.js that is empty. Assuming I figure out how to get the "cat cp" command working do I rename users2.js
Thanks Bob
Oops... fixed in the previous message so that others won't get stumped
still no access to tabs Daily, Monthly and Device.
are you getting any messages on the screen? Is the yellow alert visible beside the tabs? please send screenshots to questions@usage-monitoring.com and perhaps copy of your users.js (you will have to change the file extension to something other than .js (.txt works)
On your settings tab, please check the "Use `/dev` JS & CSS files" option in the `Debug` area.
Then reload your reports with a <ctrl>+F5 (to clear the cache)...
Do things load properly now? It works in my test environment. I'd like to confirm it is working in yours before pushing the updates to the current server
The reports load after doing that! The fix can go live IMHO.
On your settings tab, please check the "Use `/dev` JS & CSS files" option in the `Debug` area.
Then reload your reports with a <ctrl>+F5 (to clear the cache)...
Do things load properly now? It works in my test environment. I'd like to confirm it is working in yours before pushing the updates to the current server
The reports load after doing that! The fix can go live IMHO.
Woo hoo! Thanks for the update (and your patience!)
Is there anyone else out there with _ispBillingDay of 29, 30 or 31? Can you also confirm that this fixes your issues?
Posted: Sun Mar 18, 2018 17:34 Post subject: Yamon shutdown when autostarted with dd-wrt
I installed Yamon today and noticed that it does not autostart. Below is a log snippet. Yamon starts just fine and then receives the shutdown command. I then started it manually with no issues.
Why is that?
11:53:10 99 New device New Device-13 (group Unknown) was added to the network: 00:0c:29:5b:da:a2 & 192.168.1.201 (0)
11:53:11 99 New device New Device-14 (group Unknown) was added to the network: 00:0c:29:d9:52:ab & 192.168.1.209 (0)
11:53:11 1 >>> 2 changes in users.js
11:53:38 1 === shutDown ===
11:53:39 2 `yamon.sh` has been stopped
12:24:23 1 YAMon:: version 3.4.3 _loglevel: 1
12:24:23 1 Installed firmware: DD-WRT 33675M kongac
Posted: Sun Mar 18, 2018 19:26 Post subject: Re: Yamon shutdown when autostarted with dd-wrt
tdf2001 wrote:
I installed Yamon today and noticed that it does not autostart. Below is a log snippet. Yamon starts just fine and then receives the shutdown command. I then started it manually with no issues.
Why is that?
11:53:10 99 New device New Device-13 (group Unknown) was added to the network: 00:0c:29:5b:da:a2 & 192.168.1.201 (0)
11:53:11 99 New device New Device-14 (group Unknown) was added to the network: 00:0c:29:d9:52:ab & 192.168.1.209 (0)
11:53:11 1 >>> 2 changes in users.js
11:53:38 1 === shutDown ===
11:53:39 2 `yamon.sh` has been stopped
12:24:23 1 YAMon:: version 3.4.3 _loglevel: 1
12:24:23 1 Installed firmware: DD-WRT 33675M kongac
no idea why this would be happening. Noone else has reported it to me...
Posted: Mon Mar 19, 2018 4:05 Post subject: Re: No Download Data??
aloss wrote:
Kambo wrote:
My issues is that Yamon is not reading any download activity. It is getting the upload packets but 0 on all devices for downloads. I am running DD WRT on Archer 9. I just intalled the new version too to see if that was different but no. I did get this screen capture of when it was first starting up about the iptables could this be related?
Yes! This is the problem I have been reporting here!
And I don't think it's a problem with YAMon, but DD-WRT one. I say this with some security because I see the same problem in the iftop utility (download activities are not read)
Kambo, I suggest you test r32753 release of DD-WRT. This is the last version where YAMon was able to read the download activities on my router. If it works on your router, it will be another case with the same behavior as mine.
Hi, Thanks for the suggestion. I think it is something wrong with DD-Wrt too. I am running r32753 now and still no recorded download activity???
So I am afraid there is another issue with mine.
One thing that may be different it my physical router setup.
I have the internet coming in a ISP provided router on the wireless 4g network I have my Archer 9 plugged into this Lan to Lan. Archer is DHCP and all other devices connect through it. The wireless on the ISP router is turned off.
Not sure if that sparks anyones ideas on possible solutions.