Git Product home page Git Product logo

yamon-v4's Issues

syntax error: unexpected newline

Sorry if this is a dumb question but how do i get rid of this error?

/opt/install.sh: /opt/YAMon4/includes/getlatest.sh: line 2: syntax error: unexpected newline

Is it possible to change the "Unknown" group to a different name?

I wish that Yamon would label the gizmo's at my house with with a different Group besides "Unknown"

"Unknown-iPhone", "Unknown-Toaster", "Unknown-Thermostat" are pretty unsatisfying, and even feel slightly unnerving.

It'd be totally OK if the default were "Device" or even "New Device" (since that's what they're called on the home page.) Is there any way to change this from the GUI? Or does anyone know where to tweak the source code? Thanks.

Install on Linux?

Hi.

https://usage-monitoring.com/index.php states that YAMon works on GNU/Linux but the YAMon 4 installer only gives the following options:

      `0` -> DD-WRT
      `1` -> OpenWrt
      `2` -> ASUSWRT-Merlin
      `3` -> Tomato
      `4` -> LEDE
      `5` -> Xwrt-Vortex
      `6` -> Turris
      `7` -> Padavan

Can YAMon 4 be installed on Linux (in my case Ubuntu 20.04 LTS)? If so, what option should I choose?

Upon installation fixes runs into errors in fixes.sh on line 51 and 478

wget 'http://usage-monitoring.com/current/YAMon4/Setup/install.sh' -qO /tmp/install.sh

after default entries...

 Hit <enter> to accept the default (`1`),
      or enter your preferred value:
Thanks in advance for your patience!
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 478: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 478: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 478: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 478: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 478: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 478: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
/tmp/install.sh: /opt/YAMon4/includes/fixes.sh: line 51: arithmetic syntax error
Fixes complete

Does this mean the issues are resolved?

I am running DD-WRT with the following configuration.

Linux mankini 4.9.187 #1207 SMP Tue Aug 6 05:17:29 CEST 2019 armv7l DD-WRT

YAMon4 stops working after a while

I apologize for this rather fuzzy/imprecise bug report but, in my experience, YAMon 4.0.7 simply stops working after a while (after a period of a couple months.) Furthermore, after a (possibly longer) period of time, the external USB drive stops working. Here's what I have seen...

  • I installed 4.0.7 using the instructions from usage-monitoring.com I also use my own set of instructions for OpenWrt at: https://gist.github.com/richb-hanover/7e8b12d78c3de800afb1475789ac5595

  • I have seen and fixed the symbolic link problem to make the web GUI work using the technique described at #1 (comment)

  • Then YAMon4 worked fine. It showed traffic patterns over the course of a day, week, etc.

  • After a while, I forgot to check whether YAMon4 was working. But when I returned, the web GUI was not available at http://192.168.1.1/yamon/ Furthermore there were no YAMon processes running.

  • Most surprising, the external USB flash drive I had installed/formatted/etc. was not visible. ls -al /dev/sd* did not show any device:

    root@~# ls -al /dev/sd*
    ls: /dev/sd*: No such file or directory
    
  • And therefore, /opt (where I had installed YAMon) was gone.

This has happened with multiple (3-4) fresh installs of YAMon4 on at least two different OpenWrt routers running 18.06 or 19.07.

Any thoughts on debugging this? Many thanks.

Hourly totals are not reset and keep counting up

[..]
00:00:15 End of day: 2020-04-05
00:00:15 CalculateDailyTotals: start --> /opt/YAMon4/data/2020/04/hourly_2020-04-05.js (param: )
00:00:17 CalculateInterfaceTotals: start
/opt/YAMon4/end-of-day.sh: line 51: arithmetic syntax error
[..]

Also this one:
[..]
00:00:29 GetField: field 'last-seen' not found because the search string was empty (``)
00:00:29 DeactiveIdleDevices: 62:38:e0:d8:60:53-fddc:8d74:e5aa::1/60 set to inactive (based upon users.js)
grep: unrecognized option: 1
BusyBox v1.30.1 () multi-call binary.
Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...
Search for PATTERN in FILEs (or stdin)
-H Add 'filename:' prefix
-h Do not add 'filename:' prefix
-n Add 'line_no:' prefix
-l Show only names of files that match
-L Show only names of files that don't match
-c Show only count of matching lines
-o Show only the matching part of line
-q Quiet. Return 0 if PATTERN is found, 1 otherwise
-v Select non-matching lines
-s Suppress open and read errors
-r Recurse
-i Ignore case
-w Match whole words only
-x Match whole lines only
-F PATTERN is a literal (not regexp)
-E PATTERN is an extended regexp
-m N Match up to N times per file
-A N Print N lines of trailing context
-B N Print N lines of leading context
-C N Same as '-A N -B N'
-e PTRN Pattern to match
-f FILE Read pattern from file
00:00:29
UsersJSUpdated: users_updated changed to '2020-04-15 23:59:00'
[..]

A screenshot of the resulting output in YAMon4 is attached plus the logs from 20th this month.

Annotation 2020-04-25 092716

It may have started after QoS added a ifb0 interface that I subsequently deleted again after QoS rather slowed the whole network down.
2020-04-20.txt

YAMon4 writing to /tmp folder

Hi there,

Yamon V: v4.0.7

OpenWRT V: 21.02.2 r16495-bf0c965af0

Device: Archer A7

Issue:

YAMon also has a folder in the tmp directory that appears to get written to. YAMon should only be writing to the removable USB drive since the router itself has limited storage...

Expected Behavior:

YAMon only writes to the /opt/YAMon4 directory so all data/logs will stay on the USB drive and I won't be required to reboot device once the router gets full...

Any solutions to this issue?

YAMon-v4 stops working after some time due to "arithmetic error"

Hi Al,

it seems after some time YAMon-v4 stops working with "arithmetic syntax error"when calculating:

total_down=$(( $total_down + ${do:-0} ))

The summand(s) get multi-line numbers as the previous command yielded many numbers instead of one. I also saw many duplicate iptables rules for 0.0.0.0 in the end of the chain that are grepped for, probably this is directly related.

I needed to revert back to v3.4.7 for the time being.

Tino

Stop/Restart YAMon

Hello

Sounds like a stupid question but how do you stop/restart YAMon? in the help, they talk about dedicated script that was maybe in YAMon 3 but not the 4 version...
thanks

Yamon hang running setup.sh

Installed DD-WRT on NetGear R6700. I had to add -L to install.sh and getlatest.sh to get it to work, but it finally ran and finally got to this and just hung. I rebooted the router and tried validate.sh and it said there was no config file. Running setup.sh and it got stuck here again.

The only thing I change from default on install was folder to /mnt/sda1/opt

**********************************************************
One last thing before starting, in the upcoming prompts,
the recommended (or default) values will be highlighted with an asterisk (*).
To accept the default, simply hit <return>; otherwise, enter your preferred value
and then hit <return>.

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


*** Using default configuration settings from  '/mnt/sda1/opt/default_config.file'

disk utilization not grabbed correctly from `df`

local disk_utilization=$(df "${d_baseDir}" | tail -n 1 | awk '{print $5}')

Hi Al.

On my router I used a mounted samba share as space for YAMon.

It seems that for some reason dfdisplays the information in 2 lines, then (although the terminal is wide enough to display all in one line ...):

grafik

So your code above will not work, as position 5 is not the disk usage.

I suggest to use awk '{print $(NF-1)}'instead.

Cheers,

Tino

yamon v4.0.7 stops collecting data after a couple days

Hi
It is not the same issue as #21 !
I noticed that my Yamon v4.0.7 stops collecting data after a couple of days. The webpage is still working, it just notifies, that the hourly data is missing and the monthly data has gaps in it. After restarting yamon from the routers command line it works again for some days.
I have Yamon running on my OpenWRT v19.07.1 r10911-c155900f66 Linksys WRT1900ACS router.
The USB Stick is mounted under /opt, it is working, it has no issues.

Edit on Nov. 20. 2020:
I followed the problem, and I decided not to restart Yamon each time it stops collecting data. I noticed that after some time - one two or more days - it continues collecting data. I see (one, two or more days long) holes in the diagrams.
Strange, am I the only one having this problem?

Instructions on installation page have a mistake.

On this web page:

On that page, after copying install.sh to /opt/, there is a mistake in the instructions. It says:

give 'install.sh' execute permission
chmod +x /opt/

This gives the folder execute permission but it did not give the install.sh file execute permissions in my case. To avoid a "permission denied" error message, I had to also issue this command as well:

chmod +x /opt/install.sh

There is also an omission of instructions on this web site, regarding how to format and mount the necessary USB stick. Like me, many YaMon first-time users will also be installing a USB stick into their DD-WRT-enabled router for the first time. I was able to glean the necessary information via a lot of googling and a lot of trial and error, but it took me far too long. It would be nice if the "USB" help pages on the on the usage-monitoring.com site could give (or link to) more information about how this is done. For example, on my installation of DD-WRT, I had to do the following:

This section is needed for USB stick plugged into router, for YaMon
third-party tool. USB stick must have been pre-formatted with EXT4 file
system, I used my Synology NAS to format it as EXT4 (Control Panel, External
Devices).

In the DD-WRT web user interface, navigate to "Services", "USB"

  Core USB Support                   Enable
  USB Storage Support                Enable
  Automatic Drive Mount              Enable
  Mount this Partition to /opt       (Leave blank at first)

      AFTER SAVE/APPLY, REBOOT THE ROUTER THEN COME BACK TO THIS PAGE

After rebooting the router, you should theoretically see the USB drive now as
one of the items under "Disk Info" on this page, for instance you might see
something like this:

    UUID FF28F93B-FEEE-4E2A-8200-B293B6805FF9 (DCE, v4) 
    Volume size 57.28 GiB (61500284928 bytes, 15014718 blocks of 4 KiB) 
    /dev/sda1 mounted to /tmp/mnt/sda1

Copy that UUID into this section of this screen:

  Mount this Partition to /opt       (UUID number from the disk info)

      SAVE/APPLY, REBOOT THE ROUTER ONCE MORE TO MAKE IT AUTO MOUNT.

After rebooting the router, you should now see the USB drive mounted to /opt/
like this:

    UUID FF28F93B-FEEE-4E2A-8200-B293B6805FF9 (DCE, v4) 
    Volume size 57.28 GiB (61500284928 bytes, 15014718 blocks of 4 KiB) 
    /dev/sda1 mounted to /opt

YAMon doesn't seem to work when browser and openwrt have different time zones

Hello,

I installed YAMon4 earlier today and it worked for a while, then took the opportunity to do a variety of upgrades/restarts and re-installed it (fresh) later in the evening.

So far it isn't working, and I suspect it has to do with timezone issues. My OpenWRT router is set to use UTC as its timezone (for a variety of reasons), and my desktop is set to US/Central (UTC-06:00).

It's currently 18:19 CST here on Feb 15; which corresponds to 00:19 Feb 16 UTC. When I try to access YAMon4 from my browser, it's looking to pull up data from Feb 15 but there isn't any available. The UI doesn't seem to let me move to view data Feb 16, even though there's clearly data available for Feb 16 (I can see a raw-traffic-2021-02-16-00.txt file as well as hourly_2021-02-16.js files being collected).

Will the UI only work if the browser timezone and router timezone are the same? (If so, that's likely a dealbreaker for me for being able to use YAMon software.)

Pm

Its the Bugatti (of monitors) - but I can't find the keys

The UI is so well designed, like a Bugatti, and I only wish it will work for my scenario.

router: Dlink-DIR880L (connected to nothing but a Netgear Orbi access point)
_firmwareName: DD-WRT 42617 std

The down/up totals are way off. Measured on the first day of install, the 6th, my Down / Up totals are 28 GB / 1.5 GB per dd-wrt traffic report, whereas YAmon shows 671 MB / 276 MB. I am determined to get to the bottom, but there is a lot of code summing the data from iptables. I've sent all the information by email.

install-instructions.txt seems to not align with the content of downloaded .zip

https://github.com/al-caughey/YAMon-v4/blob/master/install-instructions.txt says

  • copy contents of zip file to /opt/YAMon4
  • open /opt/YAMon4/config.file ...

but the .zip I got has only installation script:

$> less install\ \(4.0.7\).zip | cat
Archive:  install (4.0.7).zip
 Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
--------  ------  ------- ---- ---------- ----- --------  ----
      46  Defl:N       48  -4% 2019-10-26 10:29 3b24e6e9  Setup/readme.txt
    4138  Defl:N     1706  59% 2020-03-20 00:57 8ab142ca  Setup/install.sh
--------          -------  ---                            -------
    4184             1754  58%                            2 files

also link on https://usage-monitoring.com/installv4.php for manual install (4.0.7).zip leads to 404ing https://usage-monitoring.com/manual%20install%20(4.0.7).zip .

It would be nice if github releases functionality was used and all install zip files were uploaded to github.

Specify license

First of all, thank you for building and publishing YAMon!

What is the license situation here? I found an old reddit comment which states the scripts are open-source but the comment refers to v1.

v4 displays no data. install and validation seemed to go OK...

Installed on DD-WRT 41586 on a Linksys WRT1900ACS.
Installed on /tmp/mnt/sda1..., since that's where dd-wrt REALLY wants to mount the USB drive.
Installation and validation appeared to go OK. Turned off SFE per installation instructions.
Have re-booted many times since.
The client side of the app seems to work OK..., but it appears that the cron job(s) are failing to collect data.

ls /tmp/yamon shows the following:

-rw-r--r-- 1 root root 114 Aug 9 11:53 hourly_2020-08-09.js
-rw-r--r-- 1 root root 89 Aug 9 11:53 lastseen.js
-rw-r--r-- 1 root root 317 Aug 9 11:53 mac-ip.txt
-rw-r--r-- 1 root root 0 Aug 9 11:53 raw-traffic-2020-08-09-11.txt
-rw-r--r-- 1 root root 7556 Aug 9 11:53 validation.log
-rw-r--r-- 1 root root 22848 Aug 9 11:53 yamon.log

It is Aug 11th..., so it appears that no files have been touched since installation. I've tried doing a chmod 666 on all of them..., we shall see. Since it appears that everything runs as root..., it probably won't matter.

Interestingly..., when I go to the DD-WRT(Administration->Management) page, I see that cron is enabled..., but nothing shows up in the cron job text box. I don't know if it should or shouldn't in the case of yamon..., just mentioning it.

I've gone ahead and pasted the contents of /tmp/cron.d/yamon_jobs into the text box, hit "Save" and "Apply Settings" to see if that has any effect. It appears that the "cron_jobs" file was created. Will report back in a couple of hours if things start working or not.

All YaMon4 files disappear after router reboot

I am running DD-WRT 40559 std on a Trendnet TEW818DRU. My USB drive is formatted EXT3. All attempts to mount my USB drive to /opt fail with the message that /opt is read-only. The drive auto-mounts to /tmp/mnt/sda1 upon a reboot. So I unzip the zip archive on my PC, use dos2unix to make sure all text files are UNIX formatted, copy the folder structure to /tmp/mnt/sda1 and run the install, and all works fine -- that is until I reboot the router! YaMon was no longer running and when I checked, /tmp/mnt/sda1 was completely empty.

Now, I realize /tmp is volatile, but /tmp/mnt/sda1 should be writing to the USB drive, correct? If so, why are my files disappearing? I'm familiar with UNIX so this behavior is not making sense to me.

In the meantime, I created a tar archive of the entire YaMon4 directory and used WinSCP to copy it back to my laptop; rebooted again to test and, sure enough, my files were gone -- but simply copying the tar file back, extracting it and running the start.sh script got me going again. At least if I have an unexpected router reboot I'll only lose the captured data, not my config and settings ...

UPDATE 12/26/22: I think I've discovered the source of the problem. For starters, when I formatted the USB drive, I did not name the volume. I was trying to manually link the drive to /opt using the "ln" command (failed saying /opt was read-only). The DD-WRT interface said it mounted the drive on /tmp/mnt/sda1 but this was a ramdisk, which explains why everything disappeared after a reboot. It may also explain why I was losing Wifi connectivity after a few days, forcing me to reboot the router -- the collected files were likely filling up router's the RAM. When I named the volume "opt" the router automatically mounted the disk at /opt and the information persisted after a reboot. I'll see what happens now ...

WORKING VERSION INFO

If you would like to give it a shot, my fork ecdye/YAMon-v4 has many fixes applied to the master branch that should help with the stability. I'm not making any promises that it is perfect but in my testing it has been working pretty well.

To install just download / clone the repo to /opt/YAMon4 on your router (make sure to follow the USB steps provided by Al). Then run /opt/YAMon4/setup4.0.7.sh.

The database feature will not work, and other things may be broken as well, but if you let me know I'll try to see if I can fix it.

"Data" Folder Structure Incorrect on 4.0.7 OpenWrt

@al-caughey Not sure if it's a configuration setting I have set incorrectly or something misconfigured, but I just checked the "Data" folder on my YAMon install which I installed 20 days ago and noticed that it did not create any of the files for April in the 2020\04 folder everything is in the 2020\03 folder except for "2020-04-mac_usage.js"

Data Folder Contents:

# find ./data/ | sort
./data/
./data/2020
./data/2020/03
./data/2020/03/2020-03-mac_usage.js
./data/2020/03/hourly_2020-03-26.js
./data/2020/03/hourly_2020-03-27.js
./data/2020/03/hourly_2020-03-28.js
./data/2020/03/hourly_2020-03-29.js
./data/2020/03/hourly_2020-03-30.js
./data/2020/03/hourly_2020-03-31.js
./data/2020/03/hourly_2020-04-01.js
./data/2020/03/hourly_2020-04-03.js
./data/2020/03/hourly_2020-04-04.js
./data/2020/03/hourly_2020-04-05.js
./data/2020/03/hourly_2020-04-07.js
./data/2020/03/hourly_2020-04-08.js
./data/2020/03/hourly_2020-04-09.js
./data/2020/03/hourly_2020-04-10.js
./data/2020/03/hourly_2020-04-11.js
./data/2020/03/hourly_2020-04-12.js
./data/2020/03/hourly_2020-04-13.js
./data/2020/03/hourly_2020-04-14.js
./data/2020/03/hourly_2020-04-15.js
./data/2020/03/raw-traffic-2020-03-26.txt
./data/2020/03/raw-traffic-2020-03-27.txt
./data/2020/03/raw-traffic-2020-03-28.txt
./data/2020/03/raw-traffic-2020-03-29.txt
./data/2020/03/raw-traffic-2020-03-31.txt
./data/2020/03/raw-traffic-2020-04-01.txt
./data/2020/03/raw-traffic-2020-04-02.txt
./data/2020/03/raw-traffic-2020-04-03.txt
./data/2020/03/raw-traffic-2020-04-04.txt
./data/2020/03/raw-traffic-2020-04-05.txt
./data/2020/03/raw-traffic-2020-04-06.txt
./data/2020/03/raw-traffic-2020-04-07.txt
./data/2020/03/raw-traffic-2020-04-08.txt
./data/2020/03/raw-traffic-2020-04-09.txt
./data/2020/03/raw-traffic-2020-04-10.txt
./data/2020/03/raw-traffic-2020-04-11.txt
./data/2020/03/raw-traffic-2020-04-12.txt
./data/2020/03/raw-traffic-2020-04-13.txt
./data/2020/03/raw-traffic-2020-04-14.txt
./data/2020/03/raw-traffic-2020-04-15.txt
./data/2020/03/reboot-2020-03-26.js
./data/2020/03/reboot-2020-03-27.js
./data/2020/03/reboot-2020-03-28.js
./data/2020/03/reboot-2020-04-07.js
./data/2020/03/reboot-2020-04-08.js
./data/2020/03/reboot-2020-04-09.js
./data/2020/03/reboot-2020-04-10.js
./data/2020/04
./data/2020/04/2020-04-mac_usage.js
./data/lastseen-2020-03-26-22:13:37.js
./data/lastseen-2020-03-26-22:20:55.js
./data/lastseen-2020-03-26-22:21:56.js
./data/lastseen-2020-03-31-13:12:33.js
./data/lastseen-2020-03-31-13:16:10.js
./data/lastseen-2020-03-31-13:16:55.js
./data/lastseen.js
./data/users.js

Trouble installing YAMon 4.0.7 on OpenWrt 19.07.0

I used wget 'http://usage-monitoring.com/current/YAMon4/Setup/install.sh' to retrieve and install YAMon into /opt on OpenWrt 19.07.0. It appeared to install without issue.

When I went to http://my-router/yamon, I got the page shown in the screen shot below. Additional troubleshooting information:

  • Contents of the setup log file appended.
  • OpenWrt Startup page shows that yamon4 is Disabled (I didn't check to see if it had started)
  • OpenWrt Scheduled Tasks page shows:
    0 0 * * * /etc/init.d/acme start
    #YAMon jobs: (updated 2020-04-11)
    0 0 1 * *  /opt/YAMon4/new-billing-interval.sh
    59 * * * *  /opt/YAMon4/end-of-hour.sh
    59 23 * * *  /opt/YAMon4/end-of-day.sh
    0 0 * * *  /opt/YAMon4/new-day.sh
    0 * * * *  /opt/YAMon4/new-hour.sh
    * * * * *  /opt/YAMon4/update-live-data.sh
    4-56/4 * * * *  /opt/YAMon4/update-reports.sh
    
  • Clicking the Start button on the Startup page seems to have no effect on the /yamon page
  • Restarting the router deleted the setup.log file
  • Clicking yamon4's Restart button in the Startup page (at 09:18) gave the (appended) yamon.log file

What other troubleshooting information could I provide? Thanks.

image

Contents of setup (2020-04-11 08:42:20).log (click to open)
<section class='ll2'><article class='dt'>08:42:27</article><article class='msg'>Launched setup.sh - v4.0.7</article></section>
<section class='ll2'><article class='dt'>08:42:27</article><article class='msg'>Baseline settings: `/opt/YAMon4/config.file`</article></section>
<section class='ll2'><article class='dt'>08:42:27</article><article class='msg'>Router Model: TP-Link Archer C7 v2 archer-c7</article></section>
<section class='ll2'><article class='dt'>08:42:27</article><article class='msg'>Installed firmware: OpenWrt 19.07.0 r10860-a3ffeb413b  </article></section>
<section class='ll2'><article class='dt'>08:42:27</article><article class='msg'>UpdateConfig: _installed --> 2020-04-11 08:42:27</article></section>
<section class='ll2'><article class='dt'>08:42:27</article><article class='msg'>UpdateConfig: _updated --> 2020-04-11 08:42:27</article></section>
<section class='ll2'><article class='dt'>08:42:27</article><article class='msg'>UpdateConfig: _router --> TP-Link Archer C7 v2 archer-c7</article></section>
<section class='ll2'><article class='dt'>08:42:27</article><article class='msg'>UpdateConfig: _firmwareName --> OpenWrt 19.07.0 r10860-a3ffeb413b  </article></section>
<section class='ll2'><article class='dt'>08:42:33</article><article class='msg'>Prompt: Do you want run setup in Basic(*) or Advanced mode? --> b</article></section>
<section class='ll2'><article class='dt'>08:42:33</article><article class='msg'>Install mode: b</article></section>
<section class='ll2'><article class='dt'>08:42:40</article><article class='msg'>Prompt: Which firmware variant is running on your router? --> 1</article></section>
<section class='ll2'><article class='dt'>08:42:40</article><article class='msg'>UpdateConfig: _firmware --> 1</article></section>
<section class='ll1'><article class='dt'>08:42:41</article><article class='msg'>CheckDataPath: /opt/YAMon4/data does not exist</article></section>
<section class='ll2'><article class='dt'>08:42:50</article><article class='msg'>Prompt: Do you want to copy your data directory from your prior installation?  --> 0</article></section>
<section class='ll1'><article class='dt'>08:42:50</article><article class='msg'>CheckDataPath: Chose to not copy existing data from 1:/opt/YAMon4... adding an empty folder</article></section>
<section class='ll2'><article class='dt'>08:42:58</article><article class='msg'>Prompt: What is your ISP bill roll-over date? 
    (i.e., on what day of the month does your usage reset to zero) --> 1</article></section>
<section class='ll2'><article class='dt'>08:42:58</article><article class='msg'>UpdateConfig: _ispBillingDay --> 1</article></section>
<section class='ll2'><article class='dt'>08:43:05</article><article class='msg'>Prompt: Does your plan with your ISP have a data usage cap? --> 0</article></section>
<section class='ll2'><article class='dt'>08:43:05</article><article class='msg'>UpdateConfig: _monthlyDataCap --> 0</article></section>
<section class='ll2'><article class='dt'>08:43:10</article><article class='msg'>Prompt: Does your ISP offer `Bonus Data`?
    (i.e., uncapped data usage during offpeak hours) --> 0</article></section>
<section class='ll2'><article class='dt'>08:43:10</article><article class='msg'>UpdateConfig: _unlimited_usage --> 0</article></section>
<section class='ll2'><article class='dt'>08:43:13</article><article class='msg'>Prompt: Do you want to enable the database integration feature?
    If you do not trust my emphatic assertions that I 
      1. provide this option as a convenience only, and
      2. have no interest whatsoever in your settings,
    then do *NOT* enable this option.
    OTOH, if you want to use the access restrictions feature, 
    you must enable this option... Your call! --> 0</article></section>
<section class='ll2'><article class='dt'>08:43:13</article><article class='msg'>Updated existing settings: `/opt/YAMon4/config.file`</article></section>
<section class='ll2'><article class='dt'>08:43:13</article><article class='msg'>Changed `/opt/YAMon4` permissions to: `+x`</article></section>
<section class='ll2'><article class='dt'>08:43:13</article><article class='msg'>Changed `/tmp/www/` permissions to: `+x`</article></section>
<section class='ll2'><article class='dt'>08:43:13</article><article class='msg'>Changed `/opt/YAMon4/www` permissions to: `+x`</article></section>
<section class='ll2'><article class='dt'>08:43:13</article><article class='msg'>Created YAMon init script in `/etc/init.d/`</article></section>
<section class='ll2'><article class='dt'>08:43:19</article><article class='msg'>Prompt: Do you run the fixes script now?  It might take a couple minutes to complete... --> 1</article></section>
<section class='ll2'><article class='dt'>08:43:25</article><article class='msg'>Prompt: Do you want to launch YAMon now? --> 1</article></section>
<section class='ll2'><article class='dt'>08:43:25</article><article class='msg'>Launched </article></section>

Contents of yamon.log after clicking Restart at 09:18 (click to open)
<section class='ll1'><article class='dt'>09:01:28</article><article class='msg'>traffic.sh: --> 09:-3 -> 09:01</article></section>
/opt/YAMon4/update-live-data.sh: line 99: can't create /tmp/www/js/live_data4.js: nonexistent directory
iptables: No chain/target/match by that name.
cat: can't open '/tmp/yamon/mac-ip.txt': No such file or directory
/opt/YAMon4/update-live-data.sh: line 65: can't create /tmp/www/js/live_data4.js: nonexistent directory
/opt/YAMon4/update-live-data.sh: line 89: can't create /tmp/www/js/live_data4.js: nonexistent directory
<section class='ll3'><article class='dt'>09:01:28</article><article class='msg'>ERROR >>> doliveUpdates:  <ul>
<li>/opt/YAMon4/update-live-data.sh: line 90: can't create /tmp/www/js/live_data4.js: nonexistent directory
</ul></article></section>
<section class='ll1'><article class='dt'>09:01:32</article><article class='msg'>AddEntry: adding value --> `_path2logs`='/opt/YAMon4/logs/' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:32</article><article class='msg'>AddEntry: adding value --> `_path2data`='/opt/YAMon4/data/' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:32</article><article class='msg'>AddEntry: adding value --> `dailyLogFile`='/opt/YAMon4/logs/2020-04-11.html' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:32</article><article class='msg'>AddEntry: adding value --> `_currentInterval`='2020-04' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:32</article><article class='msg'>AddEntry: adding value --> `_path2CurrentMonth`='/opt/YAMon4/data/2020/04/' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:32</article><article class='msg'>AddEntry: adding value --> `_intervalDataFile`='/opt/YAMon4/data/2020/04/2020-04-mac_usage.js' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:32</article><article class='msg'>AddEntry: adding value --> `_uptime`='55.60' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:32</article><article class='msg'>AddEntry: adding value --> `lastCheckinHour`='56' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:32</article><article class='msg'>AddEntry: adding value --> `_path2bu`='/opt/YAMon4/daily-bu/' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:32</article><article class='msg'>AddEntry: adding value --> `_usersFile`='/opt/YAMon4/data/users.js' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:32</article><article class='msg'>AddEntry: adding value --> `tmpUsersFile`='/tmp/yamon/users.js' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:32</article><article class='msg'>AddEntry: adding value --> `_lastSeenFile`='/opt/YAMon4/data/lastseen.js' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:32</article><article class='msg'>AddEntry: adding value --> `tmpLastSeen`='/tmp/yamon/lastseen.js' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:32</article><article class='msg'>AddEntry: adding value --> `rawtraffic_day`='/opt/YAMon4/data/2020/04/raw-traffic-2020-04-11.txt' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:32</article><article class='msg'>AddEntry: adding value --> `rawtraffic_hr`='/tmp/yamon/raw-traffic-2020-04-11-09.txt' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:32</article><article class='msg'>AddEntry: adding value --> `hourlyDataFile`='/tmp/yamon/hourly_2020-04-11.js' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:32</article><article class='msg'>AddEntry: adding value --> `macIPFile`='/tmp/yamon/mac-ip.txt' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:32</article><article class='msg'>AddEntry: adding value --> `YAMON_IPTABLES`='YAMONv40' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:32</article><article class='msg'>AddEntry: adding value --> `_generic_ipv4`='0.0.0.0/0' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:32</article><article class='msg'>AddEntry: adding value --> `_generic_ipv6`='::/0' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:32</article><article class='msg'>AddEntry: adding value --> `_IPCmd`='ip neigh show' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:32</article><article class='msg'>AddEntry: adding value --> `send2FTP`='Send2FTP_0' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:32</article><article class='msg'>AddEntry: adding value --> `_conntrack`='/proc/net/nf_conntrack' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:32</article><article class='msg'>AddEntry: adding value --> `_conntrack_awk`='BEGIN { printf "var curr_connections=["} { gsub(/(src|dst|sport|dport|bytes)=/, ""); if($3 == "tcp"){ printf "[\"%s\",\"%s\",%s,\"%s\",%s,%s],",$3,$7,$9,$8,$10,$12;} else if($3 == "udp"){ printf "[\"%s\",\"%s\",%s,\"%s\",%s,%s],",$3,$6,$8,$7,$9,$11;} else { printf "[\"%s\",\"%s\",,\"%s\",,%s],",$3,$6,$7,$9;} }' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:32</article><article class='msg'>AddEntry: adding value --> `_liveFilePath`='/tmp/www/js/live_data4.js' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:32</article><article class='msg'>AddEntry: adding value --> `doCurrConnections`='CurrentConnections_1' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:32</article><article class='msg'>AddEntry: adding value --> `doArchiveLiveUpdates`='ArchiveLiveUpdates_0' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:32</article><article class='msg'>AddEntry: adding value --> `hourlyDataTemplate`='hourlyData4({\"id\":\"%s\",\"hour\":\"%s\",\"down\":\"%s\",\"up\":\"%s\"})' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:32</article><article class='msg'>AddEntry: adding value --> `currentlyUnlimited`='0' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:33</article><article class='msg'>AddEntry: adding value --> `nameFromStaticLeases`='StaticLeases_OpenWRT' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:33</article><article class='msg'>AddEntry: adding value --> `deviceIPField`='2' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:33</article><article class='msg'>AddEntry: adding value --> `deviceNameField`='3' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:33</article><article class='msg'>AddEntry: adding value --> `_dnsmasq_conf`='/tmp/etc/dnsmasq.conf' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:33</article><article class='msg'>AddEntry: adding value --> `_dnsmasq_leases`='/tmp/dhcp.leases' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:33</article><article class='msg'>AddEntry: adding value --> `_wwwPath`='/tmp/www/' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:33</article><article class='msg'>AddEntry: adding value --> `_wwwURL`='/yamon' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:33</article><article class='msg'>AddEntry: adding value --> `_iptablesWait`='-w -W1' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:33</article><article class='msg'>AddEntry: adding value --> `_lan_iface`='br-lan' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:33</article><article class='msg'>AddEntry: adding value --> `_interfaces`='br-lan' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:33</article><article class='msg'>AddEntry: adding value --> `ip6tablesFn`='IP6Enabled' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:33</article><article class='msg'>AddEntry: adding value --> `ip6Enabled`='1' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:33</article><article class='msg'>AddEntry: adding value --> `nameFromDNSMasqConf`='NullFunction' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:33</article><article class='msg'>AddEntry: adding value --> `nameFromDNSMasqLease`='DNSMasqLease' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:33</article><article class='msg'>AddEntry: adding value --> `_max_digits`='18' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:33</article><article class='msg'>AddEntry: adding value --> `_setRenice`='NoRenice' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:33</article><article class='msg'>start-stop</article></section>


 ___     ___   __       ___    ___
 \\\\   ////  //\\     ||||\  /||||   _____   __ ____
  \\\\ ////  ///\\\    ||||\\//||||  ///|\\\  ||//|\\\
   \\\'///  ////\\\\   ||||\\//|||| ////^\\\\ |||/^\|||
    \\|//  ////  \\\\  |||| \/ |||| |||   ||| |||   |||
    ////  //////\\\\\\ ||||    |||| \\\\.//// |||   |||
   ////  ////      \\\\||||    ||||  \\\|///  |||   |||
   
              Yet Another Monitor (v: 4.0.7)
            Copyright (c) 2013-present Al Caughey
                  All rights reserved.
               https://usage-monitoring.com


<section class='ll2'><article class='dt'>09:01:33</article><article class='msg'>YAMon:: Server Rebooted</article></section>
<section class='ll1'><article class='dt'>09:01:33</article><article class='msg'>YAMon:: version 4.0.7	_loglevel: 1</article></section>
<section class='ll1'><article class='dt'>09:01:33</article><article class='msg'>SetupIPChains --> iptables</article></section>
<section class='ll2'><article class='dt'>09:01:33</article><article class='msg'>CheckChains: Adding YAMONv40 in iptables</article></section>
<section class='ll2'><article class='dt'>09:01:33</article><article class='msg'>CheckChains: Adding YAMONv40Entry in iptables</article></section>
<section class='ll2'><article class='dt'>09:01:33</article><article class='msg'>CheckChains: Adding YAMONv40Local in iptables</article></section>
<section class='ll1'><article class='dt'>09:01:33</article><article class='msg'>AddPrivateBlocks: iptables / 'YAMONv40' / 'YAMONv40Entry' / 'YAMONv40Local' / 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16</article></section>
<section class='ll1'><article class='dt'>09:01:34</article><article class='msg'>AddLocalIPs: iptables / 'YAMONv40' / 'YAMONv40Entry' / 'YAMONv40Local' / 255.255.255.255,224.0.0.1,127.0.0.1</article></section>
<section class='ll2'><article class='dt'>09:01:34</article><article class='msg'>CheckTables: Created 'iptables' rule YAMONv40Entry in chain FORWARD</article></section>
<section class='ll2'><article class='dt'>09:01:34</article><article class='msg'>CheckTables: Created 'iptables' rule YAMONv40Entry in chain INPUT</article></section>
<section class='ll2'><article class='dt'>09:01:34</article><article class='msg'>CheckTables: Created 'iptables' rule YAMONv40Entry in chain OUTPUT</article></section>
<section class='ll1'><article class='dt'>09:01:34</article><article class='msg'>SetupIPChains --> ip6tables</article></section>
<section class='ll2'><article class='dt'>09:01:34</article><article class='msg'>CheckChains: Adding YAMONv40 in ip6tables</article></section>
<section class='ll2'><article class='dt'>09:01:34</article><article class='msg'>CheckChains: Adding YAMONv40Entry in ip6tables</article></section>
<section class='ll2'><article class='dt'>09:01:34</article><article class='msg'>CheckChains: Adding YAMONv40Local in ip6tables</article></section>
<section class='ll1'><article class='dt'>09:01:34</article><article class='msg'>AddPrivateBlocks: ip6tables / 'YAMONv40' / 'YAMONv40Entry' / 'YAMONv40Local' / fc00::/7,ff02::/7</article></section>
<section class='ll1'><article class='dt'>09:01:35</article><article class='msg'>AddLocalIPs: ip6tables / 'YAMONv40' / 'YAMONv40Entry' / 'YAMONv40Local' / </article></section>
<section class='ll2'><article class='dt'>09:01:35</article><article class='msg'>CheckTables: Created 'ip6tables' rule YAMONv40Entry in chain FORWARD</article></section>
<section class='ll2'><article class='dt'>09:01:35</article><article class='msg'>CheckTables: Created 'ip6tables' rule YAMONv40Entry in chain INPUT</article></section>
<section class='ll2'><article class='dt'>09:01:35</article><article class='msg'>CheckTables: Created 'ip6tables' rule YAMONv40Entry in chain OUTPUT</article></section>
<section class='ll1'><article class='dt'>09:01:35</article><article class='msg'>AddNetworkInterfaces:</article></section>
<section class='ll1'><article class='dt'>09:01:35</article><article class='msg'>AddNetworkInterfaces: br-lan --> 30:b5:c2:84:d3:5e <ul>
<li>192.168.253.1
<li>2001:470:8c46::1/60
<li>fd68:491d:be8::1/60
<li>fe80::32b5:c2ff:fe84:d35e/64
</ul></article></section>
<section class='ll2'><article class='dt'>09:01:35</article><article class='msg'>CheckMAC2GroupinUserJS:  30:b5:c2:84:d3:5e Interfaces</article></section>
<section class='ll2'><article class='dt'>09:01:35</article><article class='msg'>CheckGroupChain: Adding group chain to iptables: YAMONv40_Interfaces  </article></section>
<section class='ll2'><article class='dt'>09:01:35</article><article class='msg'>CheckMAC2GroupinUserJS:  30:b5:c2:84:d3:5e Interfaces</article></section>
<section class='ll2'><article class='dt'>09:01:35</article><article class='msg'>CheckGroupChain: Adding group chain to iptables: YAMONv40_Interfaces  </article></section>
<section class='ll2'><article class='dt'>09:01:35</article><article class='msg'>CheckMAC2GroupinUserJS:  30:b5:c2:84:d3:5e Interfaces</article></section>
<section class='ll2'><article class='dt'>09:01:37</article><article class='msg'>CheckMAC2GroupinUserJS:  30:b5:c2:84:d3:5e Interfaces</article></section>
<section class='ll1'><article class='dt'>09:01:37</article><article class='msg'>AddNetworkInterfaces: eth0 --> 30:b5:c2:84:d3:5f <ul>
<li>fe80::32b5:c2ff:fe84:d35f/64
</ul></article></section>
<section class='ll2'><article class='dt'>09:01:37</article><article class='msg'>CheckMAC2GroupinUserJS:  30:b5:c2:84:d3:5f Interfaces</article></section>
<section class='ll1'><article class='dt'>09:01:38</article><article class='msg'>AddNetworkInterfaces: eth0.2 --> 30:b5:c2:84:d3:5f <ul>
<li>192.168.252.2
<li>fe80::32b5:c2ff:fe84:d35f/64
</ul></article></section>
<section class='ll2'><article class='dt'>09:01:38</article><article class='msg'>CheckMAC2GroupinUserJS:  30:b5:c2:84:d3:5f Interfaces</article></section>
<section class='ll2'><article class='dt'>09:01:38</article><article class='msg'>CheckMAC2GroupinUserJS:  30:b5:c2:84:d3:5f Interfaces</article></section>
<section class='ll1'><article class='dt'>09:01:39</article><article class='msg'>AddNetworkInterfaces: eth1 --> 30:b5:c2:84:d3:5e <ul>
<li>fe80::32b5:c2ff:fe84:d35e/64
</ul></article></section>
<section class='ll2'><article class='dt'>09:01:39</article><article class='msg'>CheckMAC2GroupinUserJS:  30:b5:c2:84:d3:5e Interfaces</article></section>
<section class='ll1'><article class='dt'>09:01:41</article><article class='msg'>AddNetworkInterfaces: ifb4eth0.2 --> ce:00:1e:22:67:7a <ul>
<li>fe80::cc00:1eff:fe22:677a/64
</ul></article></section>
<section class='ll2'><article class='dt'>09:01:41</article><article class='msg'>UsersJSUpdated: users_updated changed to '2020-04-11 09:01:33'</article></section>
<section class='ll2'><article class='dt'>09:01:41</article><article class='msg'>CheckMAC2GroupinUserJS:  ce:00:1e:22:67:7a Interfaces</article></section>
<section class='ll2'><article class='dt'>09:01:41</article><article class='msg'>AddNewMACGroup: adding mac2group entry for ce:00:1e:22:67:7a & Interfaces</article></section>
<section class='ll2'><article class='dt'>09:01:41</article><article class='msg'>UsersJSUpdated: users_updated changed to '2020-04-11 09:01:33'</article></section>
<section class='ll1'><article class='dt'>09:01:42</article><article class='msg'>AddNetworkInterfaces: wlan0 --> 30:b5:c2:84:d3:5d <ul>
<li>fe80::32b5:c2ff:fe84:d35d/64
</ul></article></section>
<section class='ll2'><article class='dt'>09:01:42</article><article class='msg'>CheckMAC2GroupinUserJS:  30:b5:c2:84:d3:5d Interfaces</article></section>
<section class='ll1'><article class='dt'>09:01:43</article><article class='msg'>AddNetworkInterfaces: wlan1 --> 30:b5:c2:84:d3:5e <ul>
<li>fe80::32b5:c2ff:fe84:d35e/64
</ul></article></section>
<section class='ll2'><article class='dt'>09:01:43</article><article class='msg'>CheckMAC2GroupinUserJS:  30:b5:c2:84:d3:5e Interfaces</article></section>
<section class='ll1'><article class='dt'>09:01:43</article><article class='msg'>ChangePath: changing value of `_interfaces` to br-lan,eth0,eth0.2,eth1,ifb4eth0.2,wlan0,wlan1 (prior _interfaces='br-lan') in /opt/YAMon4/includes/paths.sh</article></section>
<section class='ll1'><article class='dt'>09:01:43</article><article class='msg'>AddEntry: adding value --> `interface_br_lan`='7640514,586703' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:43</article><article class='msg'>AddEntry: adding value --> `interface_ifb4eth0_2`='7409908,7409908' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:43</article><article class='msg'>AddEntry: adding value --> `interface_wlan1`='85047,12839' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:43</article><article class='msg'>AddEntry: adding value --> `interface_eth0`='680397,7732481' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:44</article><article class='msg'>AddEntry: adding value --> `interface_eth1`='7670685,691459' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:44</article><article class='msg'>AddEntry: adding value --> `interface_eth1_1`='7640316,575348' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:44</article><article class='msg'>AddEntry: adding value --> `interface_wlan0`='70016,0' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:01:44</article><article class='msg'>AddEntry: adding value --> `interface_eth0_2`='657541,7611017' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll2'><article class='dt'>09:01:44</article><article class='msg'>CheckMAC2GroupinUserJS:  un:kn:ow:n0:0m:ac Unknown</article></section>
<section class='ll1'><article class='dt'>09:01:44</article><article class='msg'>AddActiveDevices --> ce:00:1e:22:67:7a-fe80::cc00:1eff:fe22:677a/64 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:01:44</article><article class='msg'>AddActiveDevices --> c8:2a:14:58:2c:0f-fe80::14ca:538:dc14:7301 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll2'><article class='dt'>09:01:44</article><article class='msg'>CheckGroupChain: Adding group chain to iptables: YAMONv40_Unknown  </article></section>
<section class='ll1'><article class='dt'>09:01:45</article><article class='msg'>AddActiveDevices --> c8:2a:14:58:2c:0f-2001:470:8c46:0:d93a:cc7d:febd:4b75 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:01:45</article><article class='msg'>AddActiveDevices --> ac:bc:32:8e:d7:69-fe80::14d7:290:7d0c:d452 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:01:46</article><article class='msg'>AddActiveDevices --> ac:bc:32:8e:d7:69-2001:470:8c46:0:6dd4:f07:c81:bace added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:01:46</article><article class='msg'>AddActiveDevices --> 60:14:66:bf:ae:2f-2001:470:8c46:0:842e:b866:e180:e0f5 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:01:46</article><article class='msg'>AddActiveDevices --> 30:b5:c2:84:d3:5e-192.168.253.1 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:01:46</article><article class='msg'>AddActiveDevices --> f8:8e:85:aa:ed:70-192.168.252.1 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll2'><article class='dt'>09:01:46</article><article class='msg'>CheckGroupChain: Adding group chain to iptables: YAMONv40_Unknown  </article></section>
<section class='ll1'><article class='dt'>09:01:47</article><article class='msg'>AddActiveDevices --> d8:a2:5e:29:1a:c2-192.168.253.155 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:01:47</article><article class='msg'>AddActiveDevices --> cc:08:8d:66:51:a8-192.168.253.172 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:01:47</article><article class='msg'>AddActiveDevices --> c8:2a:14:58:2c:0f-192.168.253.5 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:01:47</article><article class='msg'>AddActiveDevices --> b0:34:95:79:a8:ef-192.168.253.135 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:01:48</article><article class='msg'>AddActiveDevices --> ac:bc:32:8e:d7:69-192.168.253.110 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:01:48</article><article class='msg'>AddActiveDevices --> ac:7f:3e:0d:41:85-192.168.253.192 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:01:48</article><article class='msg'>AddActiveDevices --> ac:22:0b:3d:5d:b7-192.168.253.246 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:01:49</article><article class='msg'>AddActiveDevices --> a8:86:dd:58:be:ce-192.168.253.229 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:01:49</article><article class='msg'>AddActiveDevices --> 8c:58:77:c6:b9:e0-192.168.253.160 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:01:50</article><article class='msg'>AddActiveDevices --> 70:f0:87:69:93:73-192.168.253.232 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:01:50</article><article class='msg'>AddActiveDevices --> 60:fe:c5:b6:e5:b7-fe80::4ac:6395:f14c:f370 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:01:50</article><article class='msg'>AddActiveDevices --> 60:fe:c5:b6:e5:b7-192.168.253.143 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:01:51</article><article class='msg'>AddActiveDevices --> 60:14:66:bf:ae:2f-192.168.253.161 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:01:51</article><article class='msg'>AddActiveDevices --> 5c:8d:4e:8d:85:d5-192.168.253.194 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:01:51</article><article class='msg'>AddActiveDevices --> 22:e5:2a:52:99:a3-192.168.253.3 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:01:52</article><article class='msg'>AddActiveDevices --> 00:27:02:16:8d:99-192.168.253.231 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:01:52</article><article class='msg'>AddActiveDevices --> 30:b5:c2:84:d3:5d-fe80::32b5:c2ff:fe84:d35d/64 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:01:52</article><article class='msg'>AddActiveDevices --> 56:6a:84:38:75:f8-fe80::546a:84ff:fe38:75f8/64 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:01:53</article><article class='msg'>AddActiveDevices --> 30:b5:c2:84:d3:5f-192.168.252.2 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:01:53</article><article class='msg'>AddActiveDevices --> 30:b5:c2:84:d3:5f-fe80::32b5:c2ff:fe84:d35f/64 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:01:53</article><article class='msg'>AddActiveDevices --> 30:b5:c2:84:d3:5e-fe80::32b5:c2ff:fe84:d35e/64 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:01:54</article><article class='msg'>AddActiveDevices --> 30:b5:c2:84:d3:5e-fd68:491d:be8::1/60 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:01:54</article><article class='msg'>AddActiveDevices --> 30:b5:c2:84:d3:5e-2001:470:8c46::1/60 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:01:54</article><article class='msg'>SetWebDirectories</article></section>
<section class='ll1'><article class='dt'>09:01:54</article><article class='msg'>AddSoftLink: /opt/YAMon4/www/css -> /tmp/www/css</article></section>
<section class='ll1'><article class='dt'>09:01:54</article><article class='msg'>AddSoftLink: /opt/YAMon4/www/images -> /tmp/www/images</article></section>
<section class='ll1'><article class='dt'>09:01:54</article><article class='msg'>AddSoftLink: /opt/YAMon4/data -> /tmp/www/data4</article></section>
<section class='ll1'><article class='dt'>09:01:54</article><article class='msg'>AddSoftLink: /opt/YAMon4/logs -> /tmp/www/logs</article></section>
<section class='ll1'><article class='dt'>09:01:54</article><article class='msg'>AddSoftLink: /tmp/yamon/yamon.log -> /tmp/www/logs/latest-log.html</article></section>
<section class='ll1'><article class='dt'>09:01:54</article><article class='msg'>AddSoftLink: /opt/YAMon4/logs/2020-04-11.html -> /tmp/www/logs/day-log.html</article></section>
<section class='ll1'><article class='dt'>09:01:54</article><article class='msg'>AddSoftLink: /opt/YAMon4/www/yamon4.0.html -> /tmp/www/index.html</article></section>
<section class='ll1'><article class='dt'>09:01:54</article><article class='msg'>WriteConfigFile: /tmp/www/js/config4.0.js</article></section>
<section class='ll1'><article class='dt'>09:01:54</article><article class='msg'>WriteConfigFile: _installed -> 2020-04-11 08:42:27</article></section>
<section class='ll1'><article class='dt'>09:01:54</article><article class='msg'>WriteConfigFile: _updated -> 2020-04-11 08:42:27</article></section>
<section class='ll1'><article class='dt'>09:01:54</article><article class='msg'>WriteConfigFile: _router -> TP-Link Archer C7 v2 archer-c7</article></section>
<section class='ll1'><article class='dt'>09:01:54</article><article class='msg'>WriteConfigFile: _firmwareName -> OpenWrt 19.07.0 r10860-a3ffeb413b  </article></section>
<section class='ll1'><article class='dt'>09:01:54</article><article class='msg'>WriteConfigFile: _version -> 4.0.7</article></section>
<section class='ll1'><article class='dt'>09:01:54</article><article class='msg'>WriteConfigFile: _firmware -> 1</article></section>
<section class='ll1'><article class='dt'>09:01:54</article><article class='msg'>WriteConfigFile: _dbkey -> </article></section>
<section class='ll1'><article class='dt'>09:01:54</article><article class='msg'>WriteConfigFile: _updateTraffic -> </article></section>
<section class='ll1'><article class='dt'>09:01:54</article><article class='msg'>WriteConfigFile: _ispBillingDay -> 1</article></section>
<section class='ll1'><article class='dt'>09:01:54</article><article class='msg'>WriteConfigFile: _wwwData -> </article></section>
<section class='ll1'><article class='dt'>09:01:54</article><article class='msg'>ChangePath: changing value of `rawtraffic_day` to /opt/YAMon4/data/2020/04/raw-traffic-2020-04-11.txt (prior rawtraffic_day='/opt/YAMon4/data/2020/04/raw-traffic-2020-04-11.txt') in /opt/YAMon4/includes/paths.sh</article></section>
<section class='ll1'><article class='dt'>09:01:54</article><article class='msg'>ChangePath: changing value of `hourlyDataFile` to /tmp/yamon/hourly_2020-04-11.js (prior hourlyDataFile='/tmp/yamon/hourly_2020-04-11.js') in /opt/YAMon4/includes/paths.sh</article></section>
<section class='ll1'><article class='dt'>09:01:55</article><article class='msg'>ChangePath: changing value of `dailyLogFile` to /opt/YAMon4/logs/2020-04-11.html (prior dailyLogFile='/opt/YAMon4/logs/2020-04-11.html') in /opt/YAMon4/includes/paths.sh</article></section>
<section class='ll1'><article class='dt'>09:01:55</article><article class='msg'>new-day: 2020-04-11 / /tmp/yamon/hourly_2020-04-11.js</article></section>
<section class='ll1'><article class='dt'>09:01:55</article><article class='msg'>new-day: day log changed from  /tmp/www/logs/day-log.html --> /opt/YAMon4/logs/2020-04-11.html</article></section>
<section class='ll1'><article class='dt'>09:01:55</article><article class='msg'>new hour: Start of hour 09</article></section>
<section class='ll1'><article class='dt'>09:01:55</article><article class='msg'>ChangePath: changing value of `rawtraffic_hr` to /tmp/yamon/raw-traffic-2020-04-11-09.txt (prior rawtraffic_hr='/tmp/yamon/raw-traffic-2020-04-11-09.txt') in /opt/YAMon4/includes/paths.sh</article></section>
<section class='ll1'><article class='dt'>09:02:00</article><article class='msg'>traffic.sh: --> 09:-2 -> 09:02</article></section>
<section class='ll1'><article class='dt'>09:02:00</article><article class='msg'>start-stop</article></section>
<section class='ll1'><article class='dt'>09:02:00</article><article class='msg'>Checking the network for new devices</article></section>
<section class='ll1'><article class='dt'>09:02:01</article><article class='msg'>check-network: new device=22:4e:7f:6f:64:09 192.168.253.2  ;  ip=192.168.253.2  ; mac=22:4e:7f:6f:64:09</article></section>
<section class='ll2'><article class='dt'>09:02:01</article><article class='msg'>UsersJSUpdated: users_updated changed to '2020-04-11 09:02:00'</article></section>
<section class='ll2'><article class='dt'>09:02:01</article><article class='msg'>GetDeviceGroup - no matching entry for 22:4e:7f:6f:64:09 in users.js... set to 'Unknown' </article></section>
<section class='ll2'><article class='dt'>09:02:01</article><article class='msg'>CheckMAC2GroupinUserJS:  22:4e:7f:6f:64:09 Unknown</article></section>
<section class='ll2'><article class='dt'>09:02:01</article><article class='msg'>AddNewMACGroup: adding mac2group entry for 22:4e:7f:6f:64:09 & Unknown</article></section>
<section class='ll2'><article class='dt'>09:02:01</article><article class='msg'>UsersJSUpdated: users_updated changed to '2020-04-11 09:02:00'</article></section>
<section class='ll1'><article class='dt'>09:02:02</article><article class='msg'>check-network: new device=ac:bc:32:8e:d7:69 2001:470:8c46:0:e84c:72ae:6fb9:1f1c  ;  ip=2001:470:8c46:0:e84c:72ae:6fb9:1f1c  ; mac=ac:bc:32:8e:d7:69</article></section>
<section class='ll2'><article class='dt'>09:02:02</article><article class='msg'>UsersJSUpdated: users_updated changed to '2020-04-11 09:02:00'</article></section>
<section class='ll2'><article class='dt'>09:02:02</article><article class='msg'>CheckMAC2GroupinUserJS:  ac:bc:32:8e:d7:69 Unknown</article></section>
<section class='ll1'><article class='dt'>09:02:03</article><article class='msg'>Check4NewDevices: the following new devices were found: <ul>
<li>22:4e:7f:6f:64:09 192.168.253.2
<li>ac:bc:32:8e:d7:69 2001:470:8c46:0:e84c:72ae:6fb9:1f1c
</ul></article></section>
<section class='ll1'><article class='dt'>09:02:03</article><article class='msg'>CheckMacIP4Duplicates: no duplicate entries in /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:02:03</article><article class='msg'>CheckIntervalFiles: interval file exists: /opt/YAMon4/data/2020/04/2020-04-mac_usage.js</article></section>
<section class='ll1'><article class='dt'>09:02:03</article><article class='msg'>SetCronEntries: updating `/etc/crontabs/root` --> <ul>
<li>0 0 * * * /etc/init.d/acme start
<li>#YAMon jobs: (updated 2020-04-11)
<li>0 0 1 * *  /opt/YAMon4/new-billing-interval.sh
<li>59 * * * *  /opt/YAMon4/end-of-hour.sh
<li>59 23 * * *  /opt/YAMon4/end-of-day.sh
<li>0 0 * * *  /opt/YAMon4/new-day.sh
<li>0 * * * *  /opt/YAMon4/new-hour.sh
<li>* * * * *  /opt/YAMon4/update-live-data.sh
<li>4-56/4 * * * *  /opt/YAMon4/update-reports.sh
</ul></article></section>
<section class='ll1'><article class='dt'>09:02:03</article><article class='msg'>ResetCron: /etc/init.d/cron stop / /etc/init.d/cron reload</article></section>
<section class='ll99'><article class='dt'>09:02:04</article><article class='msg'>The YAMon jobs have been scheduled in `cron`... run /opt/YAMon4/pause.sh to pause or stop the scripts</article></section>
<section class='ll1'><article class='dt'>09:03:00</article><article class='msg'>traffic.sh: --> 09:-1 -> 09:03</article></section>
<section class='ll1'><article class='dt'>09:04:00</article><article class='msg'>traffic.sh: --> 09:00 -> 09:04</article></section>
<section class='ll1'><article class='dt'>09:04:01</article><article class='msg'>traffic.sh: --> 09:00 -> 09:04</article></section>
<section class='ll2'><article class='dt'>09:04:01</article><article class='msg'>GetTraffic: Unmatched traffic <ul>
<li>2774191 0.0.0.0/0 0.0.0.0/0
</ul></article></section>
<section class='ll1'><article class='dt'>09:04:01</article><article class='msg'>start-stop</article></section>
<section class='ll1'><article class='dt'>09:04:01</article><article class='msg'>Checking the network for new devices</article></section>
<section class='ll1'><article class='dt'>09:04:02</article><article class='msg'>CheckMacIP4Duplicates: no duplicate entries in /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:04:02</article><article class='msg'>GetTraffic: down: 2774191 / 120941930 </article></section>
<section class='ll2'><article class='dt'>09:04:02</article><article class='msg'>GetTraffic: re-zeroed RETURN rule in YAMONv40 (entry #)</article></section>
<section class='ll2'><article class='dt'>09:04:02</article><article class='msg'>GetTraffic: rebooted (205.82 < 55.60) --> save current hour data to reboot.js</article></section>
<section class='ll1'><article class='dt'>09:04:02</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"br-lan", "t":"117450635,5302533"} --> br-lan: 5889236   72281    0    0    0     0          0         0 125091149  100133    0    0    0     0       0          0 (7640514,586703)</article></section>
<section class='ll1'><article class='dt'>09:04:02</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"ifb4eth0.2", "t":"119134165,119134165"} --> ifb4eth0.2: 126544073   98980    0    0    0     0          0         0 126544073   98980    0    0    0     0       0          0 (7409908,7409908)</article></section>
<section class='ll1'><article class='dt'>09:04:02</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"wlan1", "t":"51147,12495"} -->  wlan1:   25334     152    0    0    0     0          0         0   136194     475    0    0    0     0       0          0 (85047,12839)</article></section>
<section class='ll1'><article class='dt'>09:04:02</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"eth0", "t":"7643456,119510327"} -->   eth0: 127242808   99653    0    0    0     0          0         0  8323853   71060    0    0    0     0       0          0 (680397,7732481)</article></section>
<section class='ll1'><article class='dt'>09:04:03</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"eth1", "t":"117826788,6482466"} -->   eth1: 7173925   72232    0    0    0     0          0         0 125497473  100136    0    0    0     0       0          0 (7670685,691459)</article></section>
<section class='ll1'><article class='dt'>09:04:03</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"eth1.1", "t":"117454116,5291082"} --> eth1.1: 5866430   72131    0    0    0     0          0       255 125094432  100120    0    0    0     0       0          0 (7640316,575348)</article></section>
<section class='ll1'><article class='dt'>09:04:03</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"wlan0", "t":"43787,0"} -->  wlan0:       0       0    0    0    0     0          0         0   113803     364    0    0    0     0       0          0 (70016,0)</article></section>
<section class='ll1'><article class='dt'>09:04:03</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"eth0.2", "t":"7381208,117838037"} --> eth0.2: 125449054   99653    0    0    0     0          0        30  8038749   71052    0    0    0     0       0          0 (657541,7611017)</article></section>
<section class='ll1'><article class='dt'>09:04:03</article><article class='msg'>ChangePath: changing value of `_uptime` to 205.82 (prior _uptime='55.60') in /opt/YAMon4/includes/paths.sh</article></section>
<section class='ll1'><article class='dt'>09:05:00</article><article class='msg'>traffic.sh: --> 09:01 -> 09:05</article></section>
<section class='ll1'><article class='dt'>09:06:00</article><article class='msg'>traffic.sh: --> 09:02 -> 09:06</article></section>
<section class='ll1'><article class='dt'>09:07:00</article><article class='msg'>traffic.sh: --> 09:03 -> 09:07</article></section>
<section class='ll1'><article class='dt'>09:08:00</article><article class='msg'>traffic.sh: --> 09:04 -> 09:08</article></section>
<section class='ll1'><article class='dt'>09:08:01</article><article class='msg'>traffic.sh: --> 09:04 -> 09:08</article></section>
<section class='ll1'><article class='dt'>09:08:03</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"br-lan", "t":"319924621,14064321"} --> br-lan: 14651024  182786    0    0    0     0          0         0 327565135  261171    0    0    0     0       0          0 (7640514,586703)</article></section>
<section class='ll1'><article class='dt'>09:08:03</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"ifb4eth0.2", "t":"324644088,324644088"} --> ifb4eth0.2: 332053996  259612    0    0    0     0          0         0 332053996  259612    0    0    0     0       0          0 (7409908,7409908)</article></section>
<section class='ll1'><article class='dt'>09:08:03</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"wlan1", "t":"318058,145586"} -->  wlan1:  158425     924    0    0    0     0          0         0   403105    1199    0    0    0     0       0          0 (85047,12839)</article></section>
<section class='ll1'><article class='dt'>09:08:03</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"eth0", "t":"20416790,325675994"} -->   eth0: 333408475  260294    0    0    0     0          0         0 21097187  180981    0    0    0     0       0          0 (680397,7732481)</article></section>
<section class='ll1'><article class='dt'>09:08:03</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"eth1", "t":"320776161,17097165"} -->   eth1: 17788624  181965    0    0    0     0          0         0 328446846  260734    0    0    0     0       0          0 (7670685,691459)</article></section>
<section class='ll1'><article class='dt'>09:08:03</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"eth1.1", "t":"319761097,13930587"} --> eth1.1: 14505935  181864    0    0    0     0          0       289 327401413  260718    0    0    0     0       0          0 (7640316,575348)</article></section>
<section class='ll1'><article class='dt'>09:08:04</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"wlan0", "t":"93365,0"} -->  wlan0:       0       0    0    0    0     0          0         0   163381     532    0    0    0     0       0          0 (70016,0)</article></section>
<section class='ll1'><article class='dt'>09:08:04</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"eth0.2", "t":"19714858,321112166"} --> eth0.2: 328723183  260294    0    0    0     0          0        66 20372399  180973    0    0    0     0       0          0 (657541,7611017)</article></section>
<section class='ll1'><article class='dt'>09:08:05</article><article class='msg'>ChangePath: changing value of `_uptime` to 446.67 (prior _uptime='205.82') in /opt/YAMon4/includes/paths.sh</article></section>
<section class='ll1'><article class='dt'>09:09:00</article><article class='msg'>traffic.sh: --> 09:05 -> 09:09</article></section>
<section class='ll1'><article class='dt'>09:10:00</article><article class='msg'>traffic.sh: --> 09:06 -> 09:10</article></section>
<section class='ll1'><article class='dt'>09:11:00</article><article class='msg'>traffic.sh: --> 09:07 -> 09:11</article></section>
<section class='ll1'><article class='dt'>09:12:00</article><article class='msg'>traffic.sh: --> 09:08 -> 09:12</article></section>
<section class='ll1'><article class='dt'>09:12:01</article><article class='msg'>traffic.sh: --> 09:08 -> 09:12</article></section>
<section class='ll1'><article class='dt'>09:12:03</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"br-lan", "t":"522742774,21876046"} --> br-lan: 22462749  282298    0    0    0     0          0         0 530383288  421260    0    0    0     0       0          0 (7640514,586703)</article></section>
<section class='ll1'><article class='dt'>09:12:04</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"ifb4eth0.2", "t":"530443645,530443645"} --> ifb4eth0.2: 537853553  419219    0    0    0     0          0         0 537853553  419219    0    0    0     0       0          0 (7409908,7409908)</article></section>
<section class='ll1'><article class='dt'>09:12:04</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"wlan1", "t":"374317,162891"} -->  wlan1:  175730    1035    0    0    0     0          0         0   459364    1428    0    0    0     0       0          0 (85047,12839)</article></section>
<section class='ll1'><article class='dt'>09:12:04</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"eth0", "t":"31842259,532121339"} -->   eth0: 539853820  419906    0    0    0     0          0         0 32522656  279826    0    0    0     0       0          0 (680397,7732481)</article></section>
<section class='ll1'><article class='dt'>09:12:04</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"eth1", "t":"524230272,26682357"} -->   eth1: 27373816  281366    0    0    0     0          0         0 531900957  420779    0    0    0     0       0          0 (7670685,691459)</article></section>
<section class='ll1'><article class='dt'>09:12:04</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"eth1.1", "t":"522575028,21726561"} --> eth1.1: 22301909  281265    0    0    0     0          0       380 530215344  420763    0    0    0     0       0          0 (7640316,575348)</article></section>
<section class='ll1'><article class='dt'>09:12:04</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"wlan0", "t":"135037,0"} -->  wlan0:       0       0    0    0    0     0          0         0   205053     688    0    0    0     0       0          0 (70016,0)</article></section>
<section class='ll1'><article class='dt'>09:12:04</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"eth0.2", "t":"30744947,524684495"} --> eth0.2: 532295512  419906    0    0    0     0          0       103 31402488  279818    0    0    0     0       0          0 (657541,7611017)</article></section>
<section class='ll1'><article class='dt'>09:12:05</article><article class='msg'>ChangePath: changing value of `_uptime` to 687.12 (prior _uptime='446.67') in /opt/YAMon4/includes/paths.sh</article></section>
<section class='ll1'><article class='dt'>09:13:00</article><article class='msg'>traffic.sh: --> 09:09 -> 09:13</article></section>
<section class='ll1'><article class='dt'>09:14:00</article><article class='msg'>traffic.sh: --> 09:10 -> 09:14</article></section>
<section class='ll1'><article class='dt'>09:15:00</article><article class='msg'>traffic.sh: --> 09:11 -> 09:15</article></section>
<section class='ll1'><article class='dt'>09:16:00</article><article class='msg'>traffic.sh: --> 09:12 -> 09:16</article></section>
<section class='ll1'><article class='dt'>09:16:01</article><article class='msg'>traffic.sh: --> 09:12 -> 09:16</article></section>
<section class='ll1'><article class='dt'>09:16:04</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"br-lan", "t":"727240982,29784808"} --> br-lan: 30371511  384406    0    0    0     0          0         0 734881496  582600    0    0    0     0       0          0 (7640514,586703)</article></section>
<section class='ll1'><article class='dt'>09:16:04</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"ifb4eth0.2", "t":"737803198,737803198"} --> ifb4eth0.2: 745213106  579843    0    0    0     0          0         0 745213106  579843    0    0    0     0       0          0 (7409908,7409908)</article></section>
<section class='ll1'><article class='dt'>09:16:04</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"wlan1", "t":"454236,202126"} -->  wlan1:  214965    1268    0    0    0     0          0         0   539283    1712    0    0    0     0       0          0 (85047,12839)</article></section>
<section class='ll1'><article class='dt'>09:16:04</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"eth0", "t":"43420123,740133784"} -->   eth0: 747866265  580537    0    0    0     0          0         0 44100520  381010    0    0    0     0       0          0 (680397,7732481)</article></section>
<section class='ll1'><article class='dt'>09:16:04</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"eth1", "t":"729373762,36388896"} -->   eth1: 37080355  383241    0    0    0     0          0         0 737044447  582073    0    0    0     0       0          0 (7670685,691459)</article></section>
<section class='ll1'><article class='dt'>09:16:04</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"eth1.1", "t":"727073342,29599350"} --> eth1.1: 30174698  383140    0    0    0     0          0       422 734713658  582057    0    0    0     0       0          0 (7640316,575348)</article></section>
<section class='ll1'><article class='dt'>09:16:04</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"wlan0", "t":"182979,0"} -->  wlan0:       0       0    0    0    0     0          0         0   252995     839    0    0    0     0       0          0 (70016,0)</article></section>
<section class='ll1'><article class='dt'>09:16:04</article><article class='msg'>GetInterfaceTraffic: interfaceLine={"n":"eth0.2", "t":"41918075,729805582"} --> eth0.2: 737416599  580537    0    0    0     0          0       142 42575616  381002    0    0    0     0       0          0 (657541,7611017)</article></section>
<section class='ll1'><article class='dt'>09:16:06</article><article class='msg'>ChangePath: changing value of `_uptime` to 927.19 (prior _uptime='687.12') in /opt/YAMon4/includes/paths.sh</article></section>
<section class='ll1'><article class='dt'>09:17:00</article><article class='msg'>traffic.sh: --> 09:13 -> 09:17</article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `_path2logs`='/opt/YAMon4/logs/' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `_path2data`='/opt/YAMon4/data/' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `dailyLogFile`='/opt/YAMon4/logs/2020-04-11.html' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `_currentInterval`='2020-04' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `_path2CurrentMonth`='/opt/YAMon4/data/2020/04/' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `_intervalDataFile`='/opt/YAMon4/data/2020/04/2020-04-mac_usage.js' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `_uptime`='1032.53' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `lastCheckinHour`='56' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `_path2bu`='/opt/YAMon4/daily-bu/' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `_usersFile`='/opt/YAMon4/data/users.js' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `tmpUsersFile`='/tmp/yamon/users.js' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `_lastSeenFile`='/opt/YAMon4/data/lastseen.js' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `tmpLastSeen`='/tmp/yamon/lastseen.js' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `rawtraffic_day`='/opt/YAMon4/data/2020/04/raw-traffic-2020-04-11.txt' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `rawtraffic_hr`='/tmp/yamon/raw-traffic-2020-04-11-09.txt' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `hourlyDataFile`='/tmp/yamon/hourly_2020-04-11.js' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `macIPFile`='/tmp/yamon/mac-ip.txt' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `YAMON_IPTABLES`='YAMONv40' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `_generic_ipv4`='0.0.0.0/0' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `_generic_ipv6`='::/0' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `_IPCmd`='ip neigh show' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `send2FTP`='Send2FTP_0' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `_conntrack`='/proc/net/nf_conntrack' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `_conntrack_awk`='BEGIN { printf "var curr_connections=["} { gsub(/(src|dst|sport|dport|bytes)=/, ""); if($3 == "tcp"){ printf "[\"%s\",\"%s\",%s,\"%s\",%s,%s],",$3,$7,$9,$8,$10,$12;} else if($3 == "udp"){ printf "[\"%s\",\"%s\",%s,\"%s\",%s,%s],",$3,$6,$8,$7,$9,$11;} else { printf "[\"%s\",\"%s\",,\"%s\",,%s],",$3,$6,$7,$9;} }' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `_liveFilePath`='/tmp/www/js/live_data4.js' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `doCurrConnections`='CurrentConnections_1' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `doArchiveLiveUpdates`='ArchiveLiveUpdates_0' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `hourlyDataTemplate`='hourlyData4({\"id\":\"%s\",\"hour\":\"%s\",\"down\":\"%s\",\"up\":\"%s\"})' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `currentlyUnlimited`='0' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `nameFromStaticLeases`='StaticLeases_OpenWRT' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `deviceIPField`='2' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `deviceNameField`='3' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `_dnsmasq_conf`='/tmp/etc/dnsmasq.conf' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `_dnsmasq_leases`='/tmp/dhcp.leases' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `_wwwPath`='/tmp/www/' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `_wwwURL`='/yamon' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:49</article><article class='msg'>AddEntry: adding value --> `_iptablesWait`='-w -W1' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:50</article><article class='msg'>AddEntry: adding value --> `_lan_iface`='br-lan' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:50</article><article class='msg'>AddEntry: adding value --> `_interfaces`='br-lan' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:50</article><article class='msg'>AddEntry: adding value --> `ip6tablesFn`='IP6Enabled' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:50</article><article class='msg'>AddEntry: adding value --> `ip6Enabled`='1' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:50</article><article class='msg'>AddEntry: adding value --> `nameFromDNSMasqConf`='NullFunction' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:50</article><article class='msg'>AddEntry: adding value --> `nameFromDNSMasqLease`='DNSMasqLease' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:50</article><article class='msg'>AddEntry: adding value --> `_max_digits`='18' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:50</article><article class='msg'>AddEntry: adding value --> `_setRenice`='NoRenice' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:50</article><article class='msg'>start-stop</article></section>


 ___     ___   __       ___    ___
 \\\\   ////  //\\     ||||\  /||||   _____   __ ____
  \\\\ ////  ///\\\    ||||\\//||||  ///|\\\  ||//|\\\
   \\\'///  ////\\\\   ||||\\//|||| ////^\\\\ |||/^\|||
    \\|//  ////  \\\\  |||| \/ |||| |||   ||| |||   |||
    ////  //////\\\\\\ ||||    |||| \\\\.//// |||   |||
   ////  ////      \\\\||||    ||||  \\\|///  |||   |||
   
              Yet Another Monitor (v: 4.0.7)
            Copyright (c) 2013-present Al Caughey
                  All rights reserved.
               https://usage-monitoring.com


<section class='ll2'><article class='dt'>09:17:50</article><article class='msg'>YAMon:: Server Rebooted</article></section>
<section class='ll1'><article class='dt'>09:17:50</article><article class='msg'>YAMon:: version 4.0.7	_loglevel: 1</article></section>
<section class='ll1'><article class='dt'>09:17:50</article><article class='msg'>SetupIPChains --> iptables</article></section>
<section class='ll1'><article class='dt'>09:17:50</article><article class='msg'>CheckChain: YAMONv40 exists in iptables</article></section>
<section class='ll1'><article class='dt'>09:17:50</article><article class='msg'>CheckChain: YAMONv40Entry exists in iptables</article></section>
<section class='ll1'><article class='dt'>09:17:50</article><article class='msg'>CheckChain: YAMONv40Local exists in iptables</article></section>
<section class='ll1'><article class='dt'>09:17:50</article><article class='msg'>AddPrivateBlocks: iptables / 'YAMONv40' / 'YAMONv40Entry' / 'YAMONv40Local' / 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16</article></section>
<section class='ll1'><article class='dt'>09:17:50</article><article class='msg'>AddLocalIPs: iptables / 'YAMONv40' / 'YAMONv40Entry' / 'YAMONv40Local' / 255.255.255.255,224.0.0.1,127.0.0.1</article></section>
<section class='ll1'><article class='dt'>09:17:51</article><article class='msg'>CheckTables: 'iptables' rule YAMONv40Entry exists in chain FORWARD</article></section>
<section class='ll1'><article class='dt'>09:17:51</article><article class='msg'>CheckTables: 'iptables' rule YAMONv40Entry exists in chain INPUT</article></section>
<section class='ll1'><article class='dt'>09:17:51</article><article class='msg'>CheckTables: 'iptables' rule YAMONv40Entry exists in chain OUTPUT</article></section>
<section class='ll1'><article class='dt'>09:17:51</article><article class='msg'>SetupIPChains --> ip6tables</article></section>
<section class='ll1'><article class='dt'>09:17:51</article><article class='msg'>CheckChain: YAMONv40 exists in ip6tables</article></section>
<section class='ll1'><article class='dt'>09:17:51</article><article class='msg'>CheckChain: YAMONv40Entry exists in ip6tables</article></section>
<section class='ll1'><article class='dt'>09:17:51</article><article class='msg'>CheckChain: YAMONv40Local exists in ip6tables</article></section>
<section class='ll1'><article class='dt'>09:17:51</article><article class='msg'>AddPrivateBlocks: ip6tables / 'YAMONv40' / 'YAMONv40Entry' / 'YAMONv40Local' / fc00::/7,ff02::/7</article></section>
<section class='ll1'><article class='dt'>09:17:51</article><article class='msg'>AddLocalIPs: ip6tables / 'YAMONv40' / 'YAMONv40Entry' / 'YAMONv40Local' / </article></section>
<section class='ll1'><article class='dt'>09:17:51</article><article class='msg'>CheckTables: 'ip6tables' rule YAMONv40Entry exists in chain FORWARD</article></section>
<section class='ll1'><article class='dt'>09:17:51</article><article class='msg'>CheckTables: 'ip6tables' rule YAMONv40Entry exists in chain INPUT</article></section>
<section class='ll1'><article class='dt'>09:17:51</article><article class='msg'>CheckTables: 'ip6tables' rule YAMONv40Entry exists in chain OUTPUT</article></section>
<section class='ll1'><article class='dt'>09:17:51</article><article class='msg'>AddNetworkInterfaces:</article></section>
<section class='ll1'><article class='dt'>09:17:51</article><article class='msg'>AddNetworkInterfaces: br-lan --> 30:b5:c2:84:d3:5e <ul>
<li>192.168.253.1
<li>2001:470:8c46::1/60
<li>fd68:491d:be8::1/60
<li>fe80::32b5:c2ff:fe84:d35e/64
</ul></article></section>
<section class='ll2'><article class='dt'>09:17:51</article><article class='msg'>CheckMAC2GroupinUserJS:  30:b5:c2:84:d3:5e Interfaces</article></section>
<section class='ll2'><article class='dt'>09:17:52</article><article class='msg'>CheckMAC2GroupinUserJS:  30:b5:c2:84:d3:5e Interfaces</article></section>
<section class='ll2'><article class='dt'>09:17:52</article><article class='msg'>CheckMAC2GroupinUserJS:  30:b5:c2:84:d3:5e Interfaces</article></section>
<section class='ll2'><article class='dt'>09:17:52</article><article class='msg'>CheckMAC2GroupinUserJS:  30:b5:c2:84:d3:5e Interfaces</article></section>
<section class='ll1'><article class='dt'>09:17:53</article><article class='msg'>AddNetworkInterfaces: eth0 --> 30:b5:c2:84:d3:5f <ul>
<li>fe80::32b5:c2ff:fe84:d35f/64
</ul></article></section>
<section class='ll2'><article class='dt'>09:17:53</article><article class='msg'>CheckMAC2GroupinUserJS:  30:b5:c2:84:d3:5f Interfaces</article></section>
<section class='ll1'><article class='dt'>09:17:53</article><article class='msg'>AddNetworkInterfaces: eth0.2 --> 30:b5:c2:84:d3:5f <ul>
<li>192.168.252.2
<li>fe80::32b5:c2ff:fe84:d35f/64
</ul></article></section>
<section class='ll2'><article class='dt'>09:17:53</article><article class='msg'>CheckMAC2GroupinUserJS:  30:b5:c2:84:d3:5f Interfaces</article></section>
<section class='ll2'><article class='dt'>09:17:53</article><article class='msg'>CheckMAC2GroupinUserJS:  30:b5:c2:84:d3:5f Interfaces</article></section>
<section class='ll1'><article class='dt'>09:17:54</article><article class='msg'>AddNetworkInterfaces: eth1 --> 30:b5:c2:84:d3:5e <ul>
<li>fe80::32b5:c2ff:fe84:d35e/64
</ul></article></section>
<section class='ll2'><article class='dt'>09:17:54</article><article class='msg'>CheckMAC2GroupinUserJS:  30:b5:c2:84:d3:5e Interfaces</article></section>
<section class='ll1'><article class='dt'>09:17:54</article><article class='msg'>AddNetworkInterfaces: ifb4eth0.2 --> ce:00:1e:22:67:7a <ul>
<li>fe80::cc00:1eff:fe22:677a/64
</ul></article></section>
<section class='ll2'><article class='dt'>09:17:54</article><article class='msg'>CheckMAC2GroupinUserJS:  ce:00:1e:22:67:7a Interfaces</article></section>
<section class='ll1'><article class='dt'>09:17:55</article><article class='msg'>AddNetworkInterfaces: wlan0 --> 30:b5:c2:84:d3:5d <ul>
<li>fe80::32b5:c2ff:fe84:d35d/64
</ul></article></section>
<section class='ll2'><article class='dt'>09:17:55</article><article class='msg'>CheckMAC2GroupinUserJS:  30:b5:c2:84:d3:5d Interfaces</article></section>
<section class='ll1'><article class='dt'>09:17:55</article><article class='msg'>AddNetworkInterfaces: wlan1 --> 30:b5:c2:84:d3:5e <ul>
<li>fe80::32b5:c2ff:fe84:d35e/64
</ul></article></section>
<section class='ll2'><article class='dt'>09:17:55</article><article class='msg'>CheckMAC2GroupinUserJS:  30:b5:c2:84:d3:5e Interfaces</article></section>
<section class='ll1'><article class='dt'>09:17:55</article><article class='msg'>ChangePath: changing value of `_interfaces` to br-lan,eth0,eth0.2,eth1,ifb4eth0.2,wlan0,wlan1 (prior _interfaces='br-lan') in /opt/YAMon4/includes/paths.sh</article></section>
<section class='ll1'><article class='dt'>09:17:55</article><article class='msg'>AddEntry: adding value --> `interface_br_lan`='829082217,33908848' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:56</article><article class='msg'>AddEntry: adding value --> `interface_ifb4eth0_2`='840723791,840723791' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:56</article><article class='msg'>AddEntry: adding value --> `interface_wlan1`='580100,229111' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:56</article><article class='msg'>AddEntry: adding value --> `interface_eth0`='49292869,843674264' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:56</article><article class='msg'>AddEntry: adding value --> `interface_eth1`='831537723,41434256' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:56</article><article class='msg'>AddEntry: adding value --> `interface_eth1_1`='828909966,33699303' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:56</article><article class='msg'>AddEntry: adding value --> `interface_wlan0`='280389,0' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll1'><article class='dt'>09:17:56</article><article class='msg'>AddEntry: adding value --> `interface_eth0_2`='47584941,831893498' in/opt/YAMon4/includes/paths.sh </article></section>
<section class='ll2'><article class='dt'>09:17:56</article><article class='msg'>CheckMAC2GroupinUserJS:  un:kn:ow:n0:0m:ac Unknown</article></section>
<section class='ll1'><article class='dt'>09:17:56</article><article class='msg'>AddActiveDevices --> ac:bc:32:8e:d7:69-2001:470:8c46:0:e84c:72ae:6fb9:1f1c added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:17:56</article><article class='msg'>AddActiveDevices --> 22:4e:7f:6f:64:09-192.168.253.2 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:17:57</article><article class='msg'>AddActiveDevices --> ce:00:1e:22:67:7a-fe80::cc00:1eff:fe22:677a/64 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:17:57</article><article class='msg'>AddActiveDevices --> c8:2a:14:58:2c:0f-fe80::14ca:538:dc14:7301 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:17:57</article><article class='msg'>AddActiveDevices --> c8:2a:14:58:2c:0f-2001:470:8c46:0:d93a:cc7d:febd:4b75 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:17:58</article><article class='msg'>AddActiveDevices --> ac:bc:32:8e:d7:69-fe80::14d7:290:7d0c:d452 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:17:58</article><article class='msg'>AddActiveDevices --> ac:bc:32:8e:d7:69-2001:470:8c46:0:6dd4:f07:c81:bace added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:17:58</article><article class='msg'>AddActiveDevices --> 60:14:66:bf:ae:2f-2001:470:8c46:0:842e:b866:e180:e0f5 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:17:58</article><article class='msg'>AddActiveDevices --> 30:b5:c2:84:d3:5e-192.168.253.1 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:17:59</article><article class='msg'>AddActiveDevices --> f8:8e:85:aa:ed:70-192.168.252.1 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:17:59</article><article class='msg'>AddActiveDevices --> d8:a2:5e:29:1a:c2-192.168.253.155 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:17:59</article><article class='msg'>AddActiveDevices --> cc:08:8d:66:51:a8-192.168.253.172 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:17:59</article><article class='msg'>AddActiveDevices --> c8:2a:14:58:2c:0f-192.168.253.5 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:18:00</article><article class='msg'>traffic.sh: --> 09:14 -> 09:18</article></section>
<section class='ll1'><article class='dt'>09:18:00</article><article class='msg'>AddActiveDevices --> b0:34:95:79:a8:ef-192.168.253.135 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll2'><article class='dt'>09:18:00</article><article class='msg'>GetMACbyIP - no matching entry for �192\.168\.252\.2� in users.js <ul>
</ul></article></section>
<section class='ll1'><article class='dt'>09:18:00</article><article class='msg'>AddActiveDevices --> ac:bc:32:8e:d7:69-192.168.253.110 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:18:01</article><article class='msg'>AddActiveDevices --> ac:7f:3e:0d:41:85-192.168.253.192 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:18:01</article><article class='msg'>AddActiveDevices --> ac:22:0b:3d:5d:b7-192.168.253.246 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:18:02</article><article class='msg'>AddActiveDevices --> a8:86:dd:58:be:ce-192.168.253.229 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:18:03</article><article class='msg'>AddActiveDevices --> 8c:58:77:c6:b9:e0-192.168.253.160 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:18:03</article><article class='msg'>AddActiveDevices --> 70:f0:87:69:93:73-192.168.253.232 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:18:04</article><article class='msg'>AddActiveDevices --> 60:fe:c5:b6:e5:b7-fe80::4ac:6395:f14c:f370 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:18:04</article><article class='msg'>AddActiveDevices --> 60:fe:c5:b6:e5:b7-192.168.253.143 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:18:04</article><article class='msg'>AddActiveDevices --> 60:14:66:bf:ae:2f-192.168.253.161 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:18:04</article><article class='msg'>AddActiveDevices --> 5c:8d:4e:8d:85:d5-192.168.253.194 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:18:05</article><article class='msg'>AddActiveDevices --> 22:e5:2a:52:99:a3-192.168.253.3 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:18:05</article><article class='msg'>AddActiveDevices --> 00:27:02:16:8d:99-192.168.253.231 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:18:06</article><article class='msg'>AddActiveDevices --> 30:b5:c2:84:d3:5d-fe80::32b5:c2ff:fe84:d35d/64 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:18:06</article><article class='msg'>AddActiveDevices --> 56:6a:84:38:75:f8-fe80::546a:84ff:fe38:75f8/64 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:18:06</article><article class='msg'>AddActiveDevices --> 30:b5:c2:84:d3:5f-192.168.252.2 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:18:06</article><article class='msg'>AddActiveDevices --> 30:b5:c2:84:d3:5f-fe80::32b5:c2ff:fe84:d35f/64 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:18:07</article><article class='msg'>AddActiveDevices --> 30:b5:c2:84:d3:5e-fe80::32b5:c2ff:fe84:d35e/64 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:18:07</article><article class='msg'>AddActiveDevices --> 30:b5:c2:84:d3:5e-fd68:491d:be8::1/60 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:18:07</article><article class='msg'>AddActiveDevices --> 30:b5:c2:84:d3:5e-2001:470:8c46::1/60 added to /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:18:08</article><article class='msg'>SetWebDirectories</article></section>
<section class='ll1'><article class='dt'>09:18:08</article><article class='msg'>AddSoftLink: /opt/YAMon4/www/css -> /tmp/www/css</article></section>
<section class='ll1'><article class='dt'>09:18:08</article><article class='msg'>AddSoftLink: /opt/YAMon4/www/images -> /tmp/www/images</article></section>
<section class='ll1'><article class='dt'>09:18:08</article><article class='msg'>AddSoftLink: /opt/YAMon4/data -> /tmp/www/data4</article></section>
<section class='ll1'><article class='dt'>09:18:08</article><article class='msg'>AddSoftLink: /opt/YAMon4/logs -> /tmp/www/logs</article></section>
<section class='ll1'><article class='dt'>09:18:08</article><article class='msg'>AddSoftLink: /tmp/yamon/yamon.log -> /tmp/www/logs/latest-log.html</article></section>
<section class='ll1'><article class='dt'>09:18:08</article><article class='msg'>AddSoftLink: /opt/YAMon4/logs/2020-04-11.html -> /tmp/www/logs/day-log.html</article></section>
<section class='ll1'><article class='dt'>09:18:08</article><article class='msg'>AddSoftLink: /opt/YAMon4/www/yamon4.0.html -> /tmp/www/index.html</article></section>
<section class='ll1'><article class='dt'>09:18:08</article><article class='msg'>WriteConfigFile: /tmp/www/js/config4.0.js</article></section>
<section class='ll1'><article class='dt'>09:18:08</article><article class='msg'>WriteConfigFile: _installed -> 2020-04-11 08:42:27</article></section>
<section class='ll1'><article class='dt'>09:18:08</article><article class='msg'>WriteConfigFile: _updated -> 2020-04-11 08:42:27</article></section>
<section class='ll1'><article class='dt'>09:18:08</article><article class='msg'>WriteConfigFile: _router -> TP-Link Archer C7 v2 archer-c7</article></section>
<section class='ll1'><article class='dt'>09:18:08</article><article class='msg'>WriteConfigFile: _firmwareName -> OpenWrt 19.07.0 r10860-a3ffeb413b  </article></section>
<section class='ll1'><article class='dt'>09:18:08</article><article class='msg'>WriteConfigFile: _version -> 4.0.7</article></section>
<section class='ll1'><article class='dt'>09:18:08</article><article class='msg'>WriteConfigFile: _firmware -> 1</article></section>
<section class='ll1'><article class='dt'>09:18:08</article><article class='msg'>WriteConfigFile: _dbkey -> </article></section>
<section class='ll1'><article class='dt'>09:18:08</article><article class='msg'>WriteConfigFile: _updateTraffic -> </article></section>
<section class='ll1'><article class='dt'>09:18:08</article><article class='msg'>WriteConfigFile: _ispBillingDay -> 1</article></section>
<section class='ll1'><article class='dt'>09:18:08</article><article class='msg'>WriteConfigFile: _wwwData -> </article></section>
<section class='ll1'><article class='dt'>09:18:08</article><article class='msg'>ChangePath: changing value of `rawtraffic_day` to /opt/YAMon4/data/2020/04/raw-traffic-2020-04-11.txt (prior rawtraffic_day='/opt/YAMon4/data/2020/04/raw-traffic-2020-04-11.txt') in /opt/YAMon4/includes/paths.sh</article></section>
<section class='ll1'><article class='dt'>09:18:08</article><article class='msg'>ChangePath: changing value of `hourlyDataFile` to /tmp/yamon/hourly_2020-04-11.js (prior hourlyDataFile='/tmp/yamon/hourly_2020-04-11.js') in /opt/YAMon4/includes/paths.sh</article></section>
<section class='ll1'><article class='dt'>09:18:08</article><article class='msg'>ChangePath: changing value of `dailyLogFile` to /opt/YAMon4/logs/2020-04-11.html (prior dailyLogFile='/opt/YAMon4/logs/2020-04-11.html') in /opt/YAMon4/includes/paths.sh</article></section>
<section class='ll1'><article class='dt'>09:18:08</article><article class='msg'>new-day: 2020-04-11 / /tmp/yamon/hourly_2020-04-11.js</article></section>
<section class='ll1'><article class='dt'>09:18:08</article><article class='msg'>new-day: day log changed from  /tmp/www/logs/day-log.html --> /opt/YAMon4/logs/2020-04-11.html</article></section>
<section class='ll1'><article class='dt'>09:18:08</article><article class='msg'>new hour: Start of hour 09</article></section>
<section class='ll1'><article class='dt'>09:18:08</article><article class='msg'>ChangePath: changing value of `rawtraffic_hr` to /tmp/yamon/raw-traffic-2020-04-11-09.txt (prior rawtraffic_hr='/tmp/yamon/raw-traffic-2020-04-11-09.txt') in /opt/YAMon4/includes/paths.sh</article></section>
<section class='ll1'><article class='dt'>09:18:13</article><article class='msg'>start-stop</article></section>
<section class='ll1'><article class='dt'>09:18:13</article><article class='msg'>Checking the network for new devices</article></section>
<section class='ll1'><article class='dt'>09:18:14</article><article class='msg'>CheckMacIP4Duplicates: no duplicate entries in /tmp/yamon/mac-ip.txt</article></section>
<section class='ll1'><article class='dt'>09:18:14</article><article class='msg'>CheckIntervalFiles: interval file exists: /opt/YAMon4/data/2020/04/2020-04-mac_usage.js</article></section>
<section class='ll1'><article class='dt'>09:18:14</article><article class='msg'>SetCronEntries: updating `/etc/crontabs/root` --> <ul>
<li>0 0 * * * /etc/init.d/acme start
<li>#YAMon jobs: (updated 2020-04-11)
<li>0 0 1 * *  /opt/YAMon4/new-billing-interval.sh
<li>59 * * * *  /opt/YAMon4/end-of-hour.sh
<li>59 23 * * *  /opt/YAMon4/end-of-day.sh
<li>0 0 * * *  /opt/YAMon4/new-day.sh
<li>0 * * * *  /opt/YAMon4/new-hour.sh
<li>* * * * *  /opt/YAMon4/update-live-data.sh
<li>4-56/4 * * * *  /opt/YAMon4/update-reports.sh
</ul></article></section>
<section class='ll1'><article class='dt'>09:18:14</article><article class='msg'>ResetCron: /etc/init.d/cron stop / /etc/init.d/cron reload</article></section>
<section class='ll99'><article class='dt'>09:18:15</article><article class='msg'>The YAMon jobs have been scheduled in `cron`... run /opt/YAMon4/pause.sh to pause or stop the scripts</article></section>

PS Read HTML5 <details> to use these "collapsing log file" sections.

ISP Import Format From Excel/CSV/TSV

What format is the ISP Monthly Import function looking for? I'm trying to import my usage from an excel spreadsheet I created, but get the following error when trying to import:

There was a problem computing the month (00) or year (undefined) values ?!?

I've tried various date formats in excel and pasted the resuls in the import box but it continues to fail:

Import Sample:

Date		Download	Upload
2020-02-08	14.804		0.000
2020-02-10	4.417		0.000
2020-02-11	4.819		0.000
2020-02-12	4.379		0.000
2020-02-13	4.871		0.000

YAMon stops monitoring

I'm running YAMon on DD-WRT on NetGear R6700. YAMon will run fine for a few days, then stop collecting data. The hours show no data. Usually I can run /mnt/sda1/opt/start.sh 'reboot' and it will start monitoring again. Sometimes I have to do it a couple times.

Please list "minimal" supported version per firmware (not just "current")

Docs insist on installing "current" version of DD-WRT etc. Since "current" can change, and even (as other docs mention) could break YAMon, it would be great if instead of current there was a list of "minimal supported version" per each firmware for each release of YAMon. That would also allow for people who are on older versions of firmware (e.g. cannot upgrade) could choose older version of YAMon which might still work on their router.

IP/yamon not working properly

I keep getting page does not exist. Even after trying their fix on the page it still doesn't work. Oddly enough, I can view the page on http:ip/yamon/www but it doesn't tally up the previous data. Does anyone have advice? Getting frustrated that V4 or V3 work properly on OpenWRT on A7.

Java Error with router function

image

Line 84
image

Line 64
image

Line 79
image

Line 39
image

This is on FreshTomato, perhaps a non officially supported router, but this would not install on the latest DD-WRT build, but this gives me more hope with the script.

4.0.7 will not run on OpenWRT

I am unable to get YAMon 4.0.7 running on a ZBT-WE826/MoFi4500 running either GoldenOrb/ROOter based on either OpenWRT 18.0.7 or 19.07.2, I have tried various install destinations, firstly a 4GB SD Card with symbolic links then finally directly on the router to /opt.

Have tried the same install procedure/steps with 3.4.7 and everything works fine.

Error:
"This text will go away once all of the data has loaded.
Ah nuts! An unexpected JavaScript error has prevented the reports from opening properly.
Please go to the Help page to find out how you can help resolve this issue."
Uncaught SyntaxError: Unexpected identifier
   4. var _firmwareName = "DISTRIB_DESCRIPTION="GoldenOrb_2020-03-01 ( OpenWrt 18.06.7 )"  "

jquery.min.js:2 jQuery.Deferred exception: _wwwData is not defined ReferenceError: _wwwData is not defined
    at loadDevices (https://usage-monitoring.com/current/js/yamon4.0.js?_=1585007077874:163:2)
    at https://usage-monitoring.com/current/js/yamon4.0.js?_=1585007077874:108:23
    at u (https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js:2:27457)
    at Object.add [as done] (https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js:2:27735)
    at HTMLDocument.<anonymous> (https://usage-monitoring.com/current/js/yamon4.0.js?_=1585007077874:80:17)
    at l (https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js:2:29375)
    at c (https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js:2:29677) undefined

Also tried updating config.file "_wwwData=" with various combinations of "data/", "data4/"

Noticed the following while running install.sh

**********************************************************
*** Saved configuration settings to `/opt/YAMon4/config.file`
*** & copied previous file to `/opt/YAMon4/config.old`
**********************************************************
chmod: /tmp/www/: No such file or directory

root@ROOter:/opt# ls -l /www
lrwxrwxrwx    1 root     root            10 Mar 24 05:41 yamon -> /tmp/yamon

Have to run the following after running install.sh

rm /www/yamon
ln -s /tmp/www /www/yamon
service yamon4 enable
reboot

/tmp/www not created on Turris Omnia (finished with missing config4.0.js)

I used yamon3.4.7 sucessfully.
I just want to upgrade to yamon4 version. After running instal.sh (4.0.7 version) and finishing setup, yamon gui is not running.
Fist check shows that e.g. /tmp/www directory to is not created...
So I created it manually, run setup.sh once again and... nothing happens: /tmp/www is empty, http://192.168.10.1/yamon/ shows "404 Not Found"...

So I created manually symlinks as shown in http://usage-monitoring.com/v4Install+Validate.php
I did not find config4.0.js, so I run install.sh once again... /tmp/www/js/config4.0.js was not created (only live_data4.js)
Is there any way how to create it? Or how to convert config3.4.js to config4.0.js
Is there any tutorial e.g. how to manually install yamon4?

Device information is not being saved

If I add device specific information on the Devices tab, then close the browser tab containing the YAmon4 webpage, and open again, all information I've entered (group/owner, color) is lost.
YAMon 4.0.7

Yamon shows data in the future, data that doesn't exist yet.

I installed YaMon for the first time on 2020-03-31. It is now 2020-04-04, only a handful of days after installation. The router onto which I installed it is new; it was purchased during the month of March, has only been hooked up and running for about a month now, and DD-WRT has only been installed on the router for a few weeks.

Yet, looking at the daily reports in YaMon, I see that it is reporting data for dates in the future during the month of April. Since the router, and the software installed onto the router, is so young, I do not expect that this is a case of "wrap-around" data from the prior year or the prior month.

See attached screen shot.

Yamon Future Dates

Auto update not working any more in reports, no update and continues to count below zero

Issue: The update timer counts down to zero and then nothing happens, nothing updates and the counter continues to count into the minus... -1, -2, ...
Developer Console shows this:

ReferenceError: freeMem is not defined
util4.0.js:1673:11
refreshTimerFunc https://usage-monitoring.com/current/js/util4.0.js?_=1587187486175:1673

Tested in both Firefox and MS Edge with same result, just to be sure :-)

YAMon4 Won't load on Openwrt any fix ?

hello guys,

i installed YAMon4 on openwrt i gets this message

This text will go away once all of the data has loaded.
Ah nuts! An unexpected JavaScript error has prevented the reports from opening properly.
Please go to the Help page to find out how you can help resolve this issue.

and when i open chrome console i gets theses error
Screenshot (3)
Screenshot (1)
Screenshot (2)
s

Carriage returns in .sh files when unzipped on Windows machines

I was unable to get the install to work on my DD-WRT router. Trying to execute the setup script just rendered "not found". Eventually, I figured out (by looking at the file through vi) that there were extraneous carriage returns ("^M") at the end of every line. I removed these using sed -i 's/\r//g' *.sh and everything worked fine after this. I assume the carriage returns had been generated when I unzipped the file on my Windows machine, before using PSCP to transfer it to the router.

Unless my setup somehow is weird, perhaps it would be worth including something about this in the installation instructions?

YaMon v4 instructs users to use h2m.sh which is not present in that version.

Running:
YaMon 4.0.7
Hardware: WRT3200ACM
Base Firmware: DD-WRT v3.0-r42819 std (03/30/20)

  • Navigate to: http://192.168.0.1/user/index.html to reach YaMon main page.
  • YaMon displays "little yellow boo-boo triangle" icon among the tabs.
  • Click on the yellow triangle icon.
  • Text is shown in a popup box:
Your monthly data file is missing traffic on the following dates:
* Wed 15 Jul 2020
* Thu 23 Jul 2020
Click the links to see if the files and data do exist. If they do, see `I have gaps in my monthly reports?!?`
  • Click on the link in the popup box, it goes to: http://usage-monitoring.com/help/?t=missing-data
  • That web page contains instructions which only pertain to YaMon version 3.
  • That web page says to SSH into the router and run /opt/YAMon3/h2m.sh
  • Unfortunately that file does not exist.
  • A corresponding V4 version of the file also does not exist in the directory /opt/YAMon4 either.

users.js export then import does not work

Exporting users.js has some issues. The Info description is the following

If you do not want to use the database integration but do want view the YAMon reports from multiple devices, click the export icon () and save the file to your router. NB - you must stop the yamon*.sh script on your router before replacing or editing users.js!

It is maybe not up to date, since it does not specify the path on the loca user where the file should be saved, it should be /opt/YAMon4/data/users.js
It also says that yamon*.sh script should be stopped, which I think does not exist in version 4.0.7, but instead /etc/init.d/yamon4 stop should be used, then after the update of the file /etc/init.d/yamon4 start .

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":"" })

CORS error when using database feature

There is an error when attempting to use the database feature:

Access to XMLHttpRequest at 'https://usage-monitoring.com/db/svSettings.php' from origin 'http://192.168.11.1' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

It looks like CORS access control has been implemented recently, but I don't think CORS AC will work in this case because the origin is always going to be a router on a private network with it's own ip or local hostname and there is no way of knowing every ip and hostname that someone may choose for their router.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.