Posted: Sat Mar 31, 2018 2:47 Post subject: YAMon 3.4 - usage monitoring for your router
A thread to address questions, comments and concerns about YAMon (short for Yet Another Monitor)
What is YAMon?
It is a tool that reports usage for every device connecting to your router. Traffic can be rolled-up into arbitrary logical groupings (e.g., by family or roommate name, by device location or function, etc.) A rich and robust set of features and reports driven by an active user-base.
Why YAMon?
Are you trying to figure out why you are exceeding your month usage cap?
Are you trying to figure out who is hogging all of your data?
Are you sure your kids are shutting off their devices at bedtime?
That's why!! More info: http://usage-monitoring.com/about.php
Try CTL/F5 _________________ 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
It doesn't show any IPv6 listings. But when using earlier builds like 33770M it lists IPv6/MAC addresses correctly.
You can thank the "DD-WRT boys" for the firmware changes to busybox and the ip calls. _________________ 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
Last edited by ddaniel51 on Wed Apr 04, 2018 2:52; edited 1 time in total
It seems my YAMON is have trouble counting data, it says the total data usage for the day is 25MB when the tv show I downloaded is already 1.4GB, not counting data from other family members.
And secondly, not too important, just for convenience. It seems when DNSMasq is active, it is unable to get device hostnames. Even DD-WRT has trouble with this, however if you are keen to implement a fix, you can get hostname by running "cat /var/lib/misc/dnsmasq.leases"
It seems my YAMON is have trouble counting data, it says the total data usage for the day is 25MB when the tv show I downloaded is already 1.4GB, not counting data from other family members.
And secondly, not too important, just for convenience. It seems when DNSMasq is active, it is unable to get device hostnames. Even DD-WRT has trouble with this, however if you are keen to implement a fix, you can get hostname by running "cat /var/lib/misc/dnsmasq.leases"
For starters, update your router firmware.
If your router isn't configured properly then Yamon cannot run as it should.
Before going any further ...
Remember that I said *properly* configured firmware? A number of firmware settings are known to prevent YAMon from collecting accurate traffic data - the most common recent culprit has been the Shortcut Forwarding Engine (SFE) option which was added in DD-WRT build 33006+ (and is enabled by default). Other known offenders include `enhanced privacy` tools (like PrivOxy) and Universal Plug and Play (UPnP) settings - see PrivOxy & UPnP. Apparently `Cut Through Forwarding` is similar to SFE so it too will be problematic but I don't have a lot of details on that yet... stay tuned!. These options *must* be disabled if you want to get accurate results from YAMon!
If you are updating from a previous version of YAMon (rather than a fresh install), back up everything before proceeding! This includes any customizations you've made to devices in the reports - see Exporting device customizations. _________________ 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
Luckily with Kong's package repository I installed ip-full and edited YAMon3's config file edited _path2ip='/opt/usr/sbin/ip' and have working IPv6 with YAMon3
NOTE: Also need _includeIPv6='1' _________________ 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
Is the Export users.js option in the users tab working? In chrome I get a tab which closes as soon as it opens, in Edge I get a new tab with nothing in it (including a blank tab name).
Im trying to export the users.js file after having edited it through the front end, but it wont let me.
(Im on the latest version, HTML: 3.4.2 / Script: 3.4.4)
Luckily with Kong's package repository I installed ip-full and edited YAMon3's config file edited _path2ip='/opt/usr/sbin/ip' and have working IPv6 with YAMon3
Is the Export users.js option in the users tab working? In chrome I get a tab which closes as soon as it opens, in Edge I get a new tab with nothing in it (including a blank tab name).
Im trying to export the users.js file after having edited it through the front end, but it wont let me.
(Im on the latest version, HTML: 3.4.2 / Script: 3.4.4)
Sorry but I do not test in MS Edge or any version of MSIE because they often do not support HTML standards properly so you have to spend hours creating nasty work-arounds. I'm sure that others may want dispute this... I'm happy to consider the fixes you identify.
But my life (and yours) will be simpler if you upgrade to Chrome or Firefox.
I'm not doing anything outside the standards (AFAIK)... in JavaScript (somewhere around line 1558 in util3.4.js), I create a data-url and then set the `download` attribute on the link (see https://www.w3schools.com/tags/att_a_download.asp for more info about the download attribute).
On my Windows 10 laptop, export definitely works in Firefox.
In Chrome, I'm getting a bit of an odd behaviour... there's a message in the bottom left corner of the screen warning that js files can harm your computer and I have to click `keep` to complete the download... I did not see that in the past.
I do not get that message if I change the JS so that the file name is users.txt rather than users.js.
In MS Edge and MSIE, the export button did not work with either file name (Recall my earlier comment about not supporting HTML standards?!?)
I have not checked Safari or Opera and I do not have access to a Mac.
Is the Export users.js option in the users tab working? In chrome I get a tab which closes as soon as it opens, in Edge I get a new tab with nothing in it (including a blank tab name).
Im trying to export the users.js file after having edited it through the front end, but it wont let me.
(Im on the latest version, HTML: 3.4.2 / Script: 3.4.4)
But my life (and yours) will be simpler if you upgrade to Chrome or Firefox.
I think you misunderstood.. Chrome is my default browser, like I mentioned in the above post.. I only tested in Edge as it doesnt work in Chrome.. In the past it has worked fine in Chrome.. (This is pressing the 'Export users.js' button at the top of the page.)
I have since tested in firefox and it works fine there, and I am able to export the users file.
I have multiple yamon processes at times. The other processes seem short lived and (most) of the time I can only see one at a time. However, check the image I've attached.
Also while telen/ssh into the router run command bootstrap (only works with Kong's Builds) it will load opkg that is required to downloading packages. _________________ 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