2. The way the hourly usage bar graph under Daily Usage further breaks down usage per device is perfect. However, under Monthly Breakdown it only seems to show total usage of all users per day with no further breakdown. Is there something I'm missing, or if not, that would be a very useful feature to add should you get around to it. That way I can print out a weekly usage breakdown, per device per day, and put it on the fridge so that whichever family member takes up the most bandwidth on average can be publicly shamed at the dinner table. Lol.
How do these look?
I'll update the scripts shortly and you'll see them on your monthly usage tab.
2. The way the hourly usage bar graph under Daily Usage further breaks down usage per device is perfect. However, under Monthly Breakdown it only seems to show total usage of all users per day with no further breakdown. Is there something I'm missing, or if not, that would be a very useful feature to add should you get around to it. That way I can print out a weekly usage breakdown, per device per day, and put it on the fridge so that whichever family member takes up the most bandwidth on average can be publicly shamed at the dinner table. Lol.
How do these look?
I'll update the scripts shortly and you'll see them on your monthly usage tab.
Al
I've updated the JavaScript files so you should all now see the two new graphs on the Monthly Usage tab.
I've also updated the (new) ISP tab so that it will now properly import data from Rogers and Electric Box (send me your ISP's fornat and I'll add it too!). You'll need to download the attached update to yamon2.html for this though...)
On the Monthly Breakdown tab, I'll also flag the dates on which the router was rebooted (see screenshot).
The new graph looks great Al. I meant to ask you this last time but I forgot, are the backups working? I have the www and dailyBU set to yes in the config but my wwwBU folder only has one folder from oct 21 and my daily-bu2 has a 0B tar from oct 21. I disabled the TAR option but I still don't see any backups in there.
The new graph looks great Al. I meant to ask you this last time but I forgot, are the backups working? I have the www and dailyBU set to yes in the config but my wwwBU folder only has one folder from oct 21 and my daily-bu2 has a 0B tar from oct 21. I disabled the TAR option but I still don't see any backups in there.
Thanks
Ian
Ian - it's been a while since I checked but yes those folders are getting updated as expected on my router.
if _dowwwBU=1 in your config.file, when yamon2.sh is stopped (normally), a copy of the /tmp/www/ directory is saved into a time-stamped directory within /wwwBU. (I added this feature when I found that I was [repeatedly] clobbering changes I'd made to yamon2.html in /tmp/www when I started and stopped the script.)
if _doDailyBU=1 in your config.file, then the script should make a backup of your data and log directories every day (at about midnight); if _tarBUs=1, then those directories should get compressed (into a date-stamped `.tar` file). As I said above, that's working on my machine (i.e., `bu-2014-10-26.tar` was added to my daily-bu2 directory last night). Given the variability between different firmware versions, I would not be overly surprised to hear that some routers do not support all of the options for the tar command...
Set _loglevel=0 in your config.file and see what sorts of messages get added to your logs at midnight tonight.
Reminder... you do not have to stop yamon2.sh to effect this change... just edit config.file (and save the changes) and within ~3min, the script will re-read the options.
I disabled the TAR option but I still don't see any backups in there.
Thanks
Ian
Ian - it's been a while since I checked but yes those folders are getting updated as expected on my router.
if _dowwwBU=1 in your config.file...
if _doDailyBU=1 in your config.file, then the script should make a backup of your data and log directories every day (at about midnight); if _tarBUs=1...
Al
Actually... the first one is working properly (AFAIK)
But, I just took another look at the script and, for some some boneheaded reason, it only makes a backup when _doDailyBU=1 and _tarBUs=1... I do not execute any code when _tarBUs=0
I noted that all utorrent traffic is not being summed at total usage. I'm using obsfucation connections. Anyway, just to let you know.
Regards.
If you have privOxy and/or UPnP enabled, that will allow other apps to create iptables entries which'll process(hijack) data before it gets to YAMon... Not much I can do about that.
I noted that all utorrent traffic is not being summed at total usage. I'm using obsfucation connections. Anyway, just to let you know.
Regards.
If you have privOxy and/or UPnP enabled, that will allow other apps to create iptables entries which'll process(hijack) data before it gets to YAMon... Not much I can do about that.
Al
Yeah, I'm using UPnP. Thank you for your prompt reply Al.
Hey Al!
Recently, I have noticed sporadically that when I go to the YAMon reports page I get the 'something has happened' screen. The screen also does not seem to be in the normal formatting. The only resolution I have found is that I go and stop the script and then restart it? Then when I go back to the reports I have to resent the basic parameters about ISP billing, limit, and the like. Then I can go to the reports. At this point, I will notice that last months data is not showing and if i back up to September it seems to pull it back in. I also notice that any manual adjustment I have made is no longer there? But it seems to be working fine until this weird thing happens again... sny thoughts on that?
Thanks!
Hey Al!
Recently, I have noticed sporadically that when I go to the YAMon reports page I get the 'something has happened' screen. The screen also does not seem to be in the normal formatting. The only resolution I have found is that I go and stop the script and then restart it? Then when I go back to the reports I have to resent the basic parameters about ISP billing, limit, and the like. Then I can go to the reports. At this point, I will notice that last months data is not showing and if i back up to September it seems to pull it back in. I also notice that any manual adjustment I have made is no longer there? But it seems to be working fine until this weird thing happens again... sny thoughts on that?
Thanks!
That certainly is odd behaviour in the reports. What browser/OS are you using?
Does it happen in other browsers?
Are you using the startup script to copy the files locally?
Are the data files appearing properly in /tmp/www/data/?
What error message(s) do you see when you type Ctrl+Shift+J?
Without more info (esp. the error message) I can't tell you what the problem is.
If restarting the yamon2.sh script makes things better, it could mean that the files on the web server are getting corrupted somehow (because restarting causes the data and source files to be copied from /opt/YAMon2/data & /opt/YAMon2/Setup/www over /tmp/www/)... I have no idea what could be corrupting them... next time it happens zip up your /tmp/www/ directory and send it to me.
The fact that you have to re-enter the billing date etc. tells me that your localstorage values are getting clobbered. Again, no idea what could be causing that...
Hey Al!
Recently, I have noticed sporadically that when I go to the YAMon reports page I get the 'something has happened' screen. The screen also does not seem to be in the normal formatting. The only resolution I have found is that I go and stop the script and then restart it? Then when I go back to the reports I have to resent the basic parameters about ISP billing, limit, and the like. Then I can go to the reports. At this point, I will notice that last months data is not showing and if i back up to September it seems to pull it back in. I also notice that any manual adjustment I have made is no longer there? But it seems to be working fine until this weird thing happens again... sny thoughts on that?
Thanks!
That certainly is odd behaviour in the reports. What browser/OS are you using?
Does it happen in other browsers?
Are you using the startup script to copy the files locally?
Are the data files appearing properly in /tmp/www/data/?
What error message(s) do you see when you type Ctrl+Shift+J?
Without more info (esp. the error message) I can't tell you what the problem is.
If restarting the yamon2.sh script makes things better, it could mean that the files on the web server are getting corrupted somehow (because restarting causes the data and source files to be copied from /opt/YAMon2/data & /opt/YAMon2/Setup/www over /tmp/www/)... I have no idea what could be corrupting them... next time it happens zip up your /tmp/www/ directory and send it to me.
The fact that you have to re-enter the billing date etc. tells me that your localstorage values are getting clobbered. Again, no idea what could be causing that...
Sorry I cannot be more helpful.
Al
Hey Al... I was trying to reply yesterday and then had some issues at work and my post timed out and I lost it. Any... I am on WIN 8.1 and most of the time have used the Metro version of explorer. I have not tried any other browsers at this time. When I start the script I use the yamon.startup script. It happened yesterday and I did compress and PM the WWW folder to you. My router did lose its IP address yesterday and this may be what caused it? This ip thing has been a sporadic issue that I have not nailed down what causes it yet. The crtl+Shift+J does not seem to work in explorer? I did not need to re-enter any parameters this time when i restarted and went to the reports which was good.
Thanks!
[
Hey Al... I was trying to reply yesterday and then had some issues at work and my post timed out and I lost it. Any... I am on WIN 8.1 and most of the time have used the Metro version of explorer. I have not tried any other browsers at this time. When I start the script I use the yamon.startup script. It happened yesterday and I did compress and PM the WWW folder to you. My router did lose its IP address yesterday and this may be what caused it? This ip thing has been a sporadic issue that I have not nailed down what causes it yet. The crtl+Shift+J does not seem to work in explorer? I did not need to re-enter any parameters this time when i restarted and went to the reports which was good.
Thanks!
Curious.... any luck with IPv6 yet?
Sorry - no time for IPv6 yet.
If you get the message timeout error when posting in this forum, first click the `Preview` button (and that should re-establish your session)
Are you running a dual band router? I've found on a couple of occasions recently that my 2.4GHz signal `dies` but the 5.0GHz band is OK (so various devices on our network cannot connect). I am 99% certain that this is a firmware issue rather than something to do with YAMon.
Rebooting the router works for me too but is a brute force approach to solving the problem. I did a bit of digging and the attached script seems to work for me... I have it in my /opt/YAMon2/Setup/ directory (with execute permissions, of course). The script restarts both the bands on my router... you might have to tweak it for yours.
One day, if I have a little more time (and after I'm done with IPv6), I might look into modifying that script so that it detects a problem exists with either band and automatically reboots it... Not sure if it really fits within YAMon's feature set though. Perhaps just a cron job.
[
Hey Al... I was trying to reply yesterday and then had some issues at work and my post timed out and I lost it. Any... I am on WIN 8.1 and most of the time have used the Metro version of explorer. I have not tried any other browsers at this time. When I start the script I use the yamon.startup script. It happened yesterday and I did compress and PM the WWW folder to you. My router did lose its IP address yesterday and this may be what caused it? This ip thing has been a sporadic issue that I have not nailed down what causes it yet. The crtl+Shift+J does not seem to work in explorer? I did not need to re-enter any parameters this time when i restarted and went to the reports which was good.
Thanks!
Curious.... any luck with IPv6 yet?
Sorry - no time for IPv6 yet.
If you get the message timeout error when posting in this forum, first click the `Preview` button (and that should re-establish your session)
Are you running a dual band router? I've found on a couple of occasions recently that my 2.4GHz signal `dies` but the 5.0GHz band is OK (so various devices on our network cannot connect). I am 99% certain that this is a firmware issue rather than something to do with YAMon.
Rebooting the router works for me too but is a brute force approach to solving the problem. I did a bit of digging and the attached script seems to work for me... I have it in my /opt/YAMon2/Setup/ directory (with execute permissions, of course). The script restarts both the bands on my router... you might have to tweak it for yours.
One day, if I have a little more time (and after I'm done with IPv6), I might look into modifying that script so that it detects a problem exists with either band and automatically reboots it... Not sure if it really fits within YAMon's feature set though. Perhaps just a cron job.
Hope this helps
Hey Al,
I am using a dual band router. I will take a look at this script. Thanks