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 ... 144, 145, 146 ... 149, 150, 151  Next
Author Message
ddaniel51
DD-WRT Guru


Joined: 19 Feb 2013
Posts: 1464

PostPosted: Mon Mar 19, 2018 7:06    Post subject: Re: No Download Data?? Reply with quote
Kambo wrote:

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.


YAMon monitors traffic via the WAN to LAN interface. It will not work Lan to Lan.

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


Joined: 12 Mar 2018
Posts: 12

PostPosted: Mon Mar 19, 2018 8:27    Post subject: Re: No Download Data?? Reply with quote
ddaniel51 wrote:


YAMon monitors traffic via the WAN to LAN interface. It will not work Lan to Lan.


Hi Daniel,

So the router which YAMon is installed on must be the internet provider modem?
It is the same scenario in my case, where my Asus router which YAMon is installed on, is connected to the provider modem via ethernet cable.

Thanks for the help!!
edboivin
DD-WRT Novice


Joined: 14 Dec 2014
Posts: 11
Location: Canada

PostPosted: Mon Mar 19, 2018 12:41    Post subject: Reply with quote
Hey Al,

My _ispBillingDay is 29 so I tried the debug fix in settings. No change for me. I noticed that the 2 other folks who had success were running 3.4. I was running 3.3 so decided to upgrade with mixed success:

Upgraded to V3.4.3
Plus side: it did indeed fix my issue with loading the reports. It did clobber my users.js file but quickly recovered using your posted instructions. Thanks!

Tried to upgrade to 3.4.4. All files downloaded OK (with comparing status of "matches") but the install script had an error and the setup script failed at line 395:

Results:
* All of your files are up-to-date.

********************************
#1. `config.file` already exists in `/opt/YAMon3/`.
Do you want to run `setup.sh` (again) to update `config.file`?

>>> For more info, see http://usage-monitoring.com/help/?t=t_c
Options: `0` / `n` ==> No -or- `1` / `y` ==> Yes(*)
- hit <enter> to accept the default: `1`, or
- type your preferred value --> 1
./install.sh: line 1: === updateConfig === : not found
./install.sh: line 1: arguments: t_c 1: not found




Running setup...

**********************************************************
**********************************************************
___ ___ ___ ____ ____
\\\\ //// //|\\ |||\\\ ///||| _____ _ ___
\\\\ //// ///A\\\ ||||\\|//|||| ///O\\\ ||N///\\
\\\|/// //// \\\\ |||| \M/ |||| /// \\\ |||//|\\\
\\Y// //// \\\\ |||| V |||| ||| ||| ||| |||
//// //////|\\\\\\ |||| |||| \\\ /// ||| |||
//// //// \\\\|||| |||| \\\|/// ||| |||

Yet Another Monitor
Copyright (c) 2013-present Al Caughey
All rights reserved.
http://usage-monitoring.com

YAMon Version:: 3.4.4

**********************************************************

**********************************************************
This script will guide you through the process of setting up the
basic parameters in your `config.file` for YAMon3.4.4.

See http://usage-monitoring.com/download.php for more detailed
instructions regarding the setup process.

NB - a number of the advanced (aka less commonly used) settings
are not currently addressed in this script.

If you want to use any of those features, you can edit your
`config.file` directly (often without actually having to stop
& restart the main YAMon script).
**********************************************************

This script will create a log of the selections you make in the
upcoming prompts. The file name & path is:
`/opt/YAMon3/logs/setup3.4.4.log`
If you encounter any issues during the setup process, please send your
log and as much additional info to install@usage-monitoring.com.
08:09:20 1 Launched setup.sh - v3.4.4


You are running this script from `/opt/YAMon3`
with baseline settings from `/opt/YAMon3/config.file`
08:09:20 1 Baseline settings: `/opt/YAMon3/config.file`


Router Model: Linksys WRT1900ACS
Installed firmware: DD-WRT 31899 std
08:09:20 1 Router Model: Linksys WRT1900ACS
08:09:20 1 Installed firmware: DD-WRT 31899 std

In the upcoming prompts, the recommended/default value will be
denoted with an asterisk (*). To accept the default, simply
hit <enter>. Otherwise, type your preferred value & then hit <enter>.

First things first, this script now supports a basic and an advanced
setup mode... select basic if you are relatively new to this process
and have simple configuration on your router.
Select advanced if you are an experienced user and want more input
over the settings.


********************************
#1. Do you want run setup in Basic(*) or Advanced mode?

>>> For more info, see http://usage-monitoring.com/help/?t=running-setup
In basic mode, the default settings will be selected.
Advanced mode allows you to tailor the settings.
Enter `b` for basic or `a` for advanced:
- hit <enter> to accept the current/default value: `b`, or
- type your preferred value --> a
08:09:31 1 Install mode: a


NB - You can always finetune your settings by editing
`config.file` (in `/opt/YAMon3/config.file`).

********************************
#2. Which firmware variant is running on your router?

>>> For more info, see http://usage-monitoring.com/help/?t=_firmware
Options:
0 -> DD-WRT (*)
1 -> OpenWrt
2 -> ASUSWRT-Merlin
3 -> Tomato
4 -> LEDE
5 -> Xwrt-Vortex
6 -> Turris
7 -> Padavan
- hit <enter> to accept the current/default value: `0`, or
- type your preferred value --> 0
08:09:34 1 lan_proto --> dhcp
08:09:34 1 sfe_enable -->
sh: out of range
08:09:34 1 upnp_enable --> 0
08:09:34 1 privoxy_enable --> 0
08:09:34 1 ntp_enable --> 1
08:09:34 1 schedule_enable --> 0 (0:0)

********************************
#3. What is your ISP bill roll-over date?
(i.e., on what day of the month does your usage reset to zero)

>>> For more info, see http://usage-monitoring.com/help/?t=_ispBillingDay
Enter the day number [1-31]
- hit <enter> to accept the current value: `29`, or
- type your preferred value -->

********************************
#4. Does your data plan have a cap?

>>> For more info, see http://usage-monitoring.com/help/?t=_monthlyDataCap
(Options: `0` ==> Unlimited Plan(*) -or- `##` ==> your cap in GB [1-9999])
- hit <enter> to accept the current value: `250`, or
- type `d` for the default: `0`, or
- type your preferred value -->

********************************
#5. Does your ISP offer `Bonus Data`?
(i.e., uncapped data usage during offpeak hours)

>>> For more info, see http://usage-monitoring.com/help/?t=_unlimited_usage
Options: `0` / `n` ==> No (*) -or- `1` / `y` ==> Yes
- hit <enter> to accept the current/default value: `0`, or
- type your preferred value -->
./install.sh: /opt/YAMon3/setup.sh: line 395: syntax error: unexpected "else" (expecting "then")

Even with these errors, V3.4.4 is up & running. The reports seem to work fine. But I also noticed that some symlinks are kinda funny now (notice the // in css and images):

# ls -la /tmp/www/
drw-rw-r-- 3 root root 0 Mar 19 08:32 .
drwxrwxrwx 14 root root 0 Mar 19 08:32 ..
lrwxrwxrwx 1 root root 20 Mar 19 07:25 css -> /opt/YAMon3/www//css
lrwxrwxrwx 1 root root 16 Mar 19 08:32 data3 -> /opt/YAMon3/data
lrwxrwxrwx 1 root root 23 Mar 19 07:25 images -> /opt/YAMon3/www//images
lrwxrwxrwx 1 root root 29 Mar 19 07:56 index.html -> /opt/YAMon3/www/yamon3.4.html
drw-rw-r-- 2 root root 0 Mar 19 08:32 js
lrwxrwxrwx 1 root root 29 Mar 19 08:32 yamon3.4.html -> /opt/YAMon3/www/yamon3.4.html

Not sure if any of this is significant... Thanks for all that you do. Much appreciated!

Ed

al_c wrote:
Mr Dewey wrote:
al_c wrote:
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?

Al


The fix worked for me! Thanks Al!


Double woo hoo... pushing it live
wild1
DD-WRT Novice


Joined: 05 Mar 2016
Posts: 24

PostPosted: Mon Mar 19, 2018 13:30    Post subject: Reply with quote
al_c wrote:
wild1 wrote:
i did the following

cp /opt/YAMon3/data/users.js /opt/YAMon3/data/users.js.bak
cd /opt/YAMon/data
cat 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
rm users.js
mv users2.js users.js

install.sh dev
(using a and added Bridge macs)

YAMon page says :
Yet Another Monitor HTML: 3.4.0 / Script: 3.4.4

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)

thanks for your patience & assistance.


HI, I deleted users.js - started with a new users.js, and redefined my devices. YAMon is running, collecting data and all the reports (tabs) are working.

I am getting some "unknown" devices which so far I am not able to identify as a device.

Unknown Incomplete-10 IN:CO:MP:LE:TE-10 192.168.1.5

I suppose these are devices switching wifi between my router and the bridged access point.

thanks, Bob
yoyoma2
DD-WRT User


Joined: 24 Sep 2016
Posts: 373

PostPosted: Mon Mar 19, 2018 21:24    Post subject: Reply with quote
wild1 wrote:
I am getting some "unknown" devices which so far I am not able to identify as a device.

Unknown Incomplete-10 IN:CO:MP:LE:TE-10 192.168.1.5

I suppose these are devices switching wifi between my router and the bridged access point.
I'm also seeing an incomplete device and strangely the IP address listed by yamon is the 1st dns server address provided by my ISP and not a device on my LAN.
05dyna
DD-WRT Guru


Joined: 25 Jan 2008
Posts: 968

PostPosted: Tue Mar 20, 2018 3:44    Post subject: Reply with quote
Newbie YAMon user here.

I’m not seeing the ISP’s DNS server as mentioned above in YAMon but what little I know about networking it appears to be the ISP’s gateway. I looked up the erroneous YAMon device's mac address and EC:13:DB which is Juniper Networks. I don’t have any Juniper Network devices on my LAN. I just did a random tracert and it’s the same .1 IP address as the second hop so it definitely from the ISP.

Also are these YAMon gauges supposed to be live? I’m running YAMon on the wrt3200acm so very little moves the dd-wrt resource meter because the 1.8GHz has plently in the tank but I would think it would have some value registering?
al_c
DD-WRT Guru


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

PostPosted: Tue Mar 20, 2018 4:12    Post subject: Reply with quote
yoyoma2 wrote:
wild1 wrote:
I am getting some "unknown" devices which so far I am not able to identify as a device.

Unknown Incomplete-10 IN:CO:MP:LE:TE-10 192.168.1.5

I suppose these are devices switching wifi between my router and the bridged access point.
I'm also seeing an incomplete device and strangely the IP address listed by yamon is the 1st dns server address provided by my ISP and not a device on my LAN.


Does this help explain things at all? http://usage-monitoring.com/help/?t=incomplete-mac

<tl;dr> I add an incomplete entry when `arp` returns an IP address with an invalid MAC and the IP address does not match any active devices in your users.js file. The reason that I add these `phantom` entries is that there can actually be traffic associated with the IP address and without an entry in users.js, there is nowhere to tally that data.

If the IP address for the incomplete MAC matches a `real` entry in your users.js file, the traffic will be tallied against that device.
7kt_ql
DD-WRT Novice


Joined: 14 Nov 2017
Posts: 30
Location: Scania, Sweden

PostPosted: Tue Mar 20, 2018 19:11    Post subject: Reply with quote
05dyna wrote:

Also are these YAMon gauges supposed to be live? I’m running YAMon on the wrt3200acm so very little moves the dd-wrt resource meter because the 1.8GHz has plently in the tank but I would think it would have some value registering?


I have the same thing, since the last change in the Yamon package.

The link to the zip-file says 3.3.6. But the zip still is 3.3.4 and the readme.txt also says 3.3.4.

_________________
_____________________________________________________
Linksys WRT3200ACM: DD-WRT r41418
Linksys LGS116P Switch
Linksys EA6300: Original firmware, as bridge
Ubiqity Unifi AP AC Lite
Ubiqity Unifi AP AC LR
Ubiqity Unifi AP AC Pro
mygen
DD-WRT Novice


Joined: 08 Oct 2016
Posts: 24
Location: Poland

PostPosted: Tue Mar 20, 2018 19:57    Post subject: Reply with quote
7kt_ql wrote:
05dyna wrote:

Also are these YAMon gauges supposed to be live? I’m running YAMon on the wrt3200acm so very little moves the dd-wrt resource meter because the 1.8GHz has plently in the tank but I would think it would have some value registering?


I have the same thing, since the last change in the Yamon package.

The link to the zip-file says 3.3.6. But the zip still is 3.3.4 and the readme.txt also says 3.3.4.


I have this same issue.

_________________
TP-Link TL-WDR3600 v1 @ (17.01-SNAPSHOT, r3794-dca4dfa + extroot 4gb Toshiba + Toshiba 1TB usb 3.0 + Zyxel NAS326
al_c
DD-WRT Guru


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

PostPosted: Tue Mar 20, 2018 20:54    Post subject: Reply with quote
mygen wrote:
7kt_ql wrote:
05dyna wrote:

Also are these YAMon gauges supposed to be live? I’m running YAMon on the wrt3200acm so very little moves the dd-wrt resource meter because the 1.8GHz has plently in the tank but I would think it would have some value registering?


I have the same thing, since the last change in the Yamon package.

The link to the zip-file says 3.3.6. But the zip still is 3.3.4 and the readme.txt also says 3.3.4.


I have this same issue.

Please be specific about what problem you have... screenshots help.

The installer on the main download page does give you the indication that it is v3.4.3 but by default it should grab the current production versions of the files (v3.3.6). Interestingly, the manual install page (http://usage-monitoring.com/manualInstall.php) correctly identifies the 3.3.6?!?) I'll have to check whats going on.

I just checked and the gauges are working on my FTP site. I'll check at home as well. Back to you ASAP

Al
05dyna
DD-WRT Guru


Joined: 25 Jan 2008
Posts: 968

PostPosted: Tue Mar 20, 2018 22:05    Post subject: Reply with quote
As I mentioned previously I’m a YAMon newbie. I think for the most part I think everything was "kind of working" except the meters (or gauges) and the bogus ISP IP address. So I went back and re-ran the install commands to try to get the gauges working but still no response from the gauges.

I didn’t know what else to try so I stopped YAMon process and removed all the files and folders off the flash drive and re-ran the setup commands. Once again four files were deemed ***missing*** from setup so for a second time so I copied them back manually from the YAMon website & zip only this time I ended up with the above mentioned IN:CO:MP:LE:TE entry where I didn’t have that one earlier.

The install script is not writing at least four files to the flash drive, or at least that’s been my experience. Fortunately I backed up the router before starting this project so for now I removed the drive and restored my original configuration. I’ll try it again in a day or so on a test system, or on my main system when I have more time. At this time I have to another obligation that's a little more pressing but as soon as time permits I’ll be more than happy to try it again and provide screen shots and feedback or whatever else I see out of the ordinary on the next attempt. In the meantime I’ve attached a screen shot of the Juniper Networks mac address YAMon found just before I took YANon offline which is clearly not on our LAN.
7kt_ql
DD-WRT Novice


Joined: 14 Nov 2017
Posts: 30
Location: Scania, Sweden

PostPosted: Wed Mar 21, 2018 11:18    Post subject: Reply with quote
Here is a screendump of the memory and disk utilization meters being a zero.
It's on a Linksys WRT32000ACM



wrt3200.jpg
 Description:
 Filesize:  54.1 KB
 Viewed:  3929 Time(s)

wrt3200.jpg



_________________
_____________________________________________________
Linksys WRT3200ACM: DD-WRT r41418
Linksys LGS116P Switch
Linksys EA6300: Original firmware, as bridge
Ubiqity Unifi AP AC Lite
Ubiqity Unifi AP AC LR
Ubiqity Unifi AP AC Pro
05dyna
DD-WRT Guru


Joined: 25 Jan 2008
Posts: 968

PostPosted: Wed Mar 21, 2018 17:03    Post subject: Reply with quote
@ 7kt_qlI thank you for confirming, That said the Load Average seem to be working


UPDATE: the meters aren't working on the R7800 either. I thought maybe it was a FireFox issue but it don't work with IE either. Second image are the missing files that needed to be copied manually
7kt_ql
DD-WRT Novice


Joined: 14 Nov 2017
Posts: 30
Location: Scania, Sweden

PostPosted: Wed Mar 21, 2018 21:03    Post subject: Reply with quote
@05dyna - thank you
There seems to have been several problems with the update in mid march.
Here's another one. I'm not quite sure when it started, but it's recent. The scripts stops for no apparent reason.
The screenshot was taken at 22:00 today. The script stopped at 10:something.



hourly_totals.jpg
 Description:
 Filesize:  62.28 KB
 Viewed:  3898 Time(s)

hourly_totals.jpg



_________________
_____________________________________________________
Linksys WRT3200ACM: DD-WRT r41418
Linksys LGS116P Switch
Linksys EA6300: Original firmware, as bridge
Ubiqity Unifi AP AC Lite
Ubiqity Unifi AP AC LR
Ubiqity Unifi AP AC Pro
7kt_ql
DD-WRT Novice


Joined: 14 Nov 2017
Posts: 30
Location: Scania, Sweden

PostPosted: Wed Mar 21, 2018 22:27    Post subject: Reply with quote
It would probably better if the users were alerted that it's not possible to install Yamon3 using the instructions of the site.

The install-script downloads files for v. 3.4.3, while the compare script looks for v 3.3.6. It looks like this in Putty:

"root@DD-WRT:/opt# sh install.sh

**************************************
Welcome to the YAMon installer

For installation tips & tricks, see
http://usage-monitoring.com/install

Please report any issues to
install@usage-monitoring.com

**************************************

Would you like to install YAMon on your router?
Either
- hit <enter> or `y` for yes, or `n` for no: y


**************************************
* Your files will be installed from `http://usage-monitoring.com`...
**************************************

Please specify the fully qualified path to your
installation directory - e.g., `/opt/YAMon3/`.

Either
- hit <enter> to accept `/opt/YAMon3/`, or
- type your preferred installation location:

**************************************
Installing YAMon...


Downloading the latest version of:
* /opt/YAMon3/includes/versions.sh
* /opt/YAMon3/default_config.file
* /opt/YAMon3/includes/util3.4.3.sh
* /opt/YAMon3/includes/defaults.sh
* /opt/YAMon3/includes/getLocalCopies.sh
* /opt/YAMon3/includes/hourly2monthly.sh
* /opt/YAMon3/readme.txt
* /opt/YAMon3/yamon3.4.3.sh
* /opt/YAMon3/startup.sh
* /opt/YAMon3/shutdown.sh
* /opt/YAMon3/restart.sh
* /opt/YAMon3/h2m.sh
* /opt/YAMon3/glc.sh
* /opt/YAMon3/wd.sh
* /opt/YAMon3/purge.sh
* /opt/YAMon3/organize.sh
* /opt/YAMon3/compare.sh
* /opt/YAMon3/setup3.4.3.sh
* /opt/YAMon3/strings/en/strings.sh
* /opt/YAMon3/www/yamon3.4.html
* /opt/YAMon3/www/css/custom.css


**********************************
Verifying that all files were downloaded successfully.

If the chart below shows files that are missing or differ
from the server, re-run install.sh.

If that still does not clear up the differences, see
http://usage-monitoring.com/common-problems.php



***********************

Comparing files...
remote path: `http://usage-monitoring.com/current/YAMon3/Setup/`
local path: `/opt/YAMon3/`

file status
--------------------------------------------------
1. setup3.3.6.sh: *** missing ***
2. yamon3.3.6.sh: *** missing ***
3. readme.txt: matches
4. default_config.file: matches
5. startup.sh: matches
6. shutdown.sh: matches
7. restart.sh: matches
8. h2m.sh: matches
9. glc.sh: matches
10. wd.sh: matches
11. purge.sh: matches
12. organize.sh: matches
13. includes/util3.3.6.sh: *** missing ***
14. includes/versions.sh: matches
15. includes/defaults.sh: matches
16. includes/getLocalCopies.sh: matches
17. includes/hourly2monthly.sh: matches
18. strings/en/strings.sh: matches
19. www/yamon3.3.html: *** missing ***
20. www/css/custom.css: matches
21. compare.sh: matches
--------------------------------------------------

Results:
* One or more of your files did not download properly.
Either re-run this script, or visit
`http://usage-monitoring.com/manualInstall.php` to update the
file(s) manually.

NB - I recently learned that some firmware variants include a buggy version
of the wget function... If the compare results show that just yamon3.4.3.sh an d
yamon3.4.html differ, you could have the affected firmware.
Use the manual install process instead for those two files... sorry!"

Send any questions or comments to install@usage-monitoring.com

Exiting install.sh....

_________________
_____________________________________________________
Linksys WRT3200ACM: DD-WRT r41418
Linksys LGS116P Switch
Linksys EA6300: Original firmware, as bridge
Ubiqity Unifi AP AC Lite
Ubiqity Unifi AP AC LR
Ubiqity Unifi AP AC Pro
Goto page Previous  1, 2, 3 ... 144, 145, 146 ... 149, 150, 151  Next Display posts from previous:    Page 145 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