al-caughey / YAMon-v4

Official repository for YAMon v4
https://usage-monitoring.com
63 stars 21 forks source link

Trouble installing YAMon 4.0.7 on OpenWrt 19.07.0 #9

Open richb-hanover opened 4 years ago

richb-hanover commented 4 years ago

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:

What other troubleshooting information could I provide? Thanks.

image
Contents of setup (2020-04-11 08:42:20).log (click to open) ```
08:42:27
Launched setup.sh - v4.0.7
08:42:27
Baseline settings: `/opt/YAMon4/config.file`
08:42:27
Router Model: TP-Link Archer C7 v2 archer-c7
08:42:27
Installed firmware: OpenWrt 19.07.0 r10860-a3ffeb413b
08:42:27
UpdateConfig: _installed --> 2020-04-11 08:42:27
08:42:27
UpdateConfig: _updated --> 2020-04-11 08:42:27
08:42:27
UpdateConfig: _router --> TP-Link Archer C7 v2 archer-c7
08:42:27
UpdateConfig: _firmwareName --> OpenWrt 19.07.0 r10860-a3ffeb413b
08:42:33
Prompt: Do you want run setup in Basic(*) or Advanced mode? --> b
08:42:33
Install mode: b
08:42:40
Prompt: Which firmware variant is running on your router? --> 1
08:42:40
UpdateConfig: _firmware --> 1
08:42:41
CheckDataPath: /opt/YAMon4/data does not exist
08:42:50
Prompt: Do you want to copy your data directory from your prior installation? --> 0
08:42:50
CheckDataPath: Chose to not copy existing data from 1:/opt/YAMon4... adding an empty folder
08:42:58
Prompt: What is your ISP bill roll-over date? (i.e., on what day of the month does your usage reset to zero) --> 1
08:42:58
UpdateConfig: _ispBillingDay --> 1
08:43:05
Prompt: Does your plan with your ISP have a data usage cap? --> 0
08:43:05
UpdateConfig: _monthlyDataCap --> 0
08:43:10
Prompt: Does your ISP offer `Bonus Data`? (i.e., uncapped data usage during offpeak hours) --> 0
08:43:10
UpdateConfig: _unlimited_usage --> 0
08:43:13
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
08:43:13
Updated existing settings: `/opt/YAMon4/config.file`
08:43:13
Changed `/opt/YAMon4` permissions to: `+x`
08:43:13
Changed `/tmp/www/` permissions to: `+x`
08:43:13
Changed `/opt/YAMon4/www` permissions to: `+x`
08:43:13
Created YAMon init script in `/etc/init.d/`
08:43:19
Prompt: Do you run the fixes script now? It might take a couple minutes to complete... --> 1
08:43:25
Prompt: Do you want to launch YAMon now? --> 1
08:43:25
Launched
```
Contents of yamon.log after clicking Restart at 09:18 (click to open) ```
09:01:28
traffic.sh: --> 09:-3 -> 09:01
/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
09:01:28
ERROR >>> doliveUpdates:
  • /opt/YAMon4/update-live-data.sh: line 90: can't create /tmp/www/js/live_data4.js: nonexistent directory
09:01:32
AddEntry: adding value --> `_path2logs`='/opt/YAMon4/logs/' in/opt/YAMon4/includes/paths.sh
09:01:32
AddEntry: adding value --> `_path2data`='/opt/YAMon4/data/' in/opt/YAMon4/includes/paths.sh
09:01:32
AddEntry: adding value --> `dailyLogFile`='/opt/YAMon4/logs/2020-04-11.html' in/opt/YAMon4/includes/paths.sh
09:01:32
AddEntry: adding value --> `_currentInterval`='2020-04' in/opt/YAMon4/includes/paths.sh
09:01:32
AddEntry: adding value --> `_path2CurrentMonth`='/opt/YAMon4/data/2020/04/' in/opt/YAMon4/includes/paths.sh
09:01:32
AddEntry: adding value --> `_intervalDataFile`='/opt/YAMon4/data/2020/04/2020-04-mac_usage.js' in/opt/YAMon4/includes/paths.sh
09:01:32
AddEntry: adding value --> `_uptime`='55.60' in/opt/YAMon4/includes/paths.sh
09:01:32
AddEntry: adding value --> `lastCheckinHour`='56' in/opt/YAMon4/includes/paths.sh
09:01:32
AddEntry: adding value --> `_path2bu`='/opt/YAMon4/daily-bu/' in/opt/YAMon4/includes/paths.sh
09:01:32
AddEntry: adding value --> `_usersFile`='/opt/YAMon4/data/users.js' in/opt/YAMon4/includes/paths.sh
09:01:32
AddEntry: adding value --> `tmpUsersFile`='/tmp/yamon/users.js' in/opt/YAMon4/includes/paths.sh
09:01:32
AddEntry: adding value --> `_lastSeenFile`='/opt/YAMon4/data/lastseen.js' in/opt/YAMon4/includes/paths.sh
09:01:32
AddEntry: adding value --> `tmpLastSeen`='/tmp/yamon/lastseen.js' in/opt/YAMon4/includes/paths.sh
09:01:32
AddEntry: adding value --> `rawtraffic_day`='/opt/YAMon4/data/2020/04/raw-traffic-2020-04-11.txt' in/opt/YAMon4/includes/paths.sh
09:01:32
AddEntry: adding value --> `rawtraffic_hr`='/tmp/yamon/raw-traffic-2020-04-11-09.txt' in/opt/YAMon4/includes/paths.sh
09:01:32
AddEntry: adding value --> `hourlyDataFile`='/tmp/yamon/hourly_2020-04-11.js' in/opt/YAMon4/includes/paths.sh
09:01:32
AddEntry: adding value --> `macIPFile`='/tmp/yamon/mac-ip.txt' in/opt/YAMon4/includes/paths.sh
09:01:32
AddEntry: adding value --> `YAMON_IPTABLES`='YAMONv40' in/opt/YAMon4/includes/paths.sh
09:01:32
AddEntry: adding value --> `_generic_ipv4`='0.0.0.0/0' in/opt/YAMon4/includes/paths.sh
09:01:32
AddEntry: adding value --> `_generic_ipv6`='::/0' in/opt/YAMon4/includes/paths.sh
09:01:32
AddEntry: adding value --> `_IPCmd`='ip neigh show' in/opt/YAMon4/includes/paths.sh
09:01:32
AddEntry: adding value --> `send2FTP`='Send2FTP_0' in/opt/YAMon4/includes/paths.sh
09:01:32
AddEntry: adding value --> `_conntrack`='/proc/net/nf_conntrack' in/opt/YAMon4/includes/paths.sh
09:01:32
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
09:01:32
AddEntry: adding value --> `_liveFilePath`='/tmp/www/js/live_data4.js' in/opt/YAMon4/includes/paths.sh
09:01:32
AddEntry: adding value --> `doCurrConnections`='CurrentConnections_1' in/opt/YAMon4/includes/paths.sh
09:01:32
AddEntry: adding value --> `doArchiveLiveUpdates`='ArchiveLiveUpdates_0' in/opt/YAMon4/includes/paths.sh
09:01:32
AddEntry: adding value --> `hourlyDataTemplate`='hourlyData4({\"id\":\"%s\",\"hour\":\"%s\",\"down\":\"%s\",\"up\":\"%s\"})' in/opt/YAMon4/includes/paths.sh
09:01:32
AddEntry: adding value --> `currentlyUnlimited`='0' in/opt/YAMon4/includes/paths.sh
09:01:33
AddEntry: adding value --> `nameFromStaticLeases`='StaticLeases_OpenWRT' in/opt/YAMon4/includes/paths.sh
09:01:33
AddEntry: adding value --> `deviceIPField`='2' in/opt/YAMon4/includes/paths.sh
09:01:33
AddEntry: adding value --> `deviceNameField`='3' in/opt/YAMon4/includes/paths.sh
09:01:33
AddEntry: adding value --> `_dnsmasq_conf`='/tmp/etc/dnsmasq.conf' in/opt/YAMon4/includes/paths.sh
09:01:33
AddEntry: adding value --> `_dnsmasq_leases`='/tmp/dhcp.leases' in/opt/YAMon4/includes/paths.sh
09:01:33
AddEntry: adding value --> `_wwwPath`='/tmp/www/' in/opt/YAMon4/includes/paths.sh
09:01:33
AddEntry: adding value --> `_wwwURL`='/yamon' in/opt/YAMon4/includes/paths.sh
09:01:33
AddEntry: adding value --> `_iptablesWait`='-w -W1' in/opt/YAMon4/includes/paths.sh
09:01:33
AddEntry: adding value --> `_lan_iface`='br-lan' in/opt/YAMon4/includes/paths.sh
09:01:33
AddEntry: adding value --> `_interfaces`='br-lan' in/opt/YAMon4/includes/paths.sh
09:01:33
AddEntry: adding value --> `ip6tablesFn`='IP6Enabled' in/opt/YAMon4/includes/paths.sh
09:01:33
AddEntry: adding value --> `ip6Enabled`='1' in/opt/YAMon4/includes/paths.sh
09:01:33
AddEntry: adding value --> `nameFromDNSMasqConf`='NullFunction' in/opt/YAMon4/includes/paths.sh
09:01:33
AddEntry: adding value --> `nameFromDNSMasqLease`='DNSMasqLease' in/opt/YAMon4/includes/paths.sh
09:01:33
AddEntry: adding value --> `_max_digits`='18' in/opt/YAMon4/includes/paths.sh
09:01:33
AddEntry: adding value --> `_setRenice`='NoRenice' in/opt/YAMon4/includes/paths.sh
09:01:33
start-stop
___ ___ __ ___ ___ \\\\ //// //\\ ||||\ /|||| _____ __ ____ \\\\ //// ///\\\ ||||\\//|||| ///|\\\ ||//|\\\ \\\'/// ////\\\\ ||||\\//|||| ////^\\\\ |||/^\||| \\|// //// \\\\ |||| \/ |||| ||| ||| ||| ||| //// //////\\\\\\ |||| |||| \\\\.//// ||| ||| //// //// \\\\|||| |||| \\\|/// ||| ||| Yet Another Monitor (v: 4.0.7) Copyright (c) 2013-present Al Caughey All rights reserved. https://usage-monitoring.com
09:01:33
YAMon:: Server Rebooted
09:01:33
YAMon:: version 4.0.7 _loglevel: 1
09:01:33
SetupIPChains --> iptables
09:01:33
CheckChains: Adding YAMONv40 in iptables
09:01:33
CheckChains: Adding YAMONv40Entry in iptables
09:01:33
CheckChains: Adding YAMONv40Local in iptables
09:01:33
AddPrivateBlocks: iptables / 'YAMONv40' / 'YAMONv40Entry' / 'YAMONv40Local' / 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
09:01:34
AddLocalIPs: iptables / 'YAMONv40' / 'YAMONv40Entry' / 'YAMONv40Local' / 255.255.255.255,224.0.0.1,127.0.0.1
09:01:34
CheckTables: Created 'iptables' rule YAMONv40Entry in chain FORWARD
09:01:34
CheckTables: Created 'iptables' rule YAMONv40Entry in chain INPUT
09:01:34
CheckTables: Created 'iptables' rule YAMONv40Entry in chain OUTPUT
09:01:34
SetupIPChains --> ip6tables
09:01:34
CheckChains: Adding YAMONv40 in ip6tables
09:01:34
CheckChains: Adding YAMONv40Entry in ip6tables
09:01:34
CheckChains: Adding YAMONv40Local in ip6tables
09:01:34
AddPrivateBlocks: ip6tables / 'YAMONv40' / 'YAMONv40Entry' / 'YAMONv40Local' / fc00::/7,ff02::/7
09:01:35
AddLocalIPs: ip6tables / 'YAMONv40' / 'YAMONv40Entry' / 'YAMONv40Local' /
09:01:35
CheckTables: Created 'ip6tables' rule YAMONv40Entry in chain FORWARD
09:01:35
CheckTables: Created 'ip6tables' rule YAMONv40Entry in chain INPUT
09:01:35
CheckTables: Created 'ip6tables' rule YAMONv40Entry in chain OUTPUT
09:01:35
AddNetworkInterfaces:
09:01:35
AddNetworkInterfaces: br-lan --> 30:b5:c2:84:d3:5e
  • 192.168.253.1
  • 2001:470:8c46::1/60
  • fd68:491d:be8::1/60
  • fe80::32b5:c2ff:fe84:d35e/64
09:01:35
CheckMAC2GroupinUserJS: 30:b5:c2:84:d3:5e Interfaces
09:01:35
CheckGroupChain: Adding group chain to iptables: YAMONv40_Interfaces
09:01:35
CheckMAC2GroupinUserJS: 30:b5:c2:84:d3:5e Interfaces
09:01:35
CheckGroupChain: Adding group chain to iptables: YAMONv40_Interfaces
09:01:35
CheckMAC2GroupinUserJS: 30:b5:c2:84:d3:5e Interfaces
09:01:37
CheckMAC2GroupinUserJS: 30:b5:c2:84:d3:5e Interfaces
09:01:37
AddNetworkInterfaces: eth0 --> 30:b5:c2:84:d3:5f
  • fe80::32b5:c2ff:fe84:d35f/64
09:01:37
CheckMAC2GroupinUserJS: 30:b5:c2:84:d3:5f Interfaces
09:01:38
AddNetworkInterfaces: eth0.2 --> 30:b5:c2:84:d3:5f
  • 192.168.252.2
  • fe80::32b5:c2ff:fe84:d35f/64
09:01:38
CheckMAC2GroupinUserJS: 30:b5:c2:84:d3:5f Interfaces
09:01:38
CheckMAC2GroupinUserJS: 30:b5:c2:84:d3:5f Interfaces
09:01:39
AddNetworkInterfaces: eth1 --> 30:b5:c2:84:d3:5e
  • fe80::32b5:c2ff:fe84:d35e/64
09:01:39
CheckMAC2GroupinUserJS: 30:b5:c2:84:d3:5e Interfaces
09:01:41
AddNetworkInterfaces: ifb4eth0.2 --> ce:00:1e:22:67:7a
  • fe80::cc00:1eff:fe22:677a/64
09:01:41
UsersJSUpdated: users_updated changed to '2020-04-11 09:01:33'
09:01:41
CheckMAC2GroupinUserJS: ce:00:1e:22:67:7a Interfaces
09:01:41
AddNewMACGroup: adding mac2group entry for ce:00:1e:22:67:7a & Interfaces
09:01:41
UsersJSUpdated: users_updated changed to '2020-04-11 09:01:33'
09:01:42
AddNetworkInterfaces: wlan0 --> 30:b5:c2:84:d3:5d
  • fe80::32b5:c2ff:fe84:d35d/64
09:01:42
CheckMAC2GroupinUserJS: 30:b5:c2:84:d3:5d Interfaces
09:01:43
AddNetworkInterfaces: wlan1 --> 30:b5:c2:84:d3:5e
  • fe80::32b5:c2ff:fe84:d35e/64
09:01:43
CheckMAC2GroupinUserJS: 30:b5:c2:84:d3:5e Interfaces
09:01:43
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
09:01:43
AddEntry: adding value --> `interface_br_lan`='7640514,586703' in/opt/YAMon4/includes/paths.sh
09:01:43
AddEntry: adding value --> `interface_ifb4eth0_2`='7409908,7409908' in/opt/YAMon4/includes/paths.sh
09:01:43
AddEntry: adding value --> `interface_wlan1`='85047,12839' in/opt/YAMon4/includes/paths.sh
09:01:43
AddEntry: adding value --> `interface_eth0`='680397,7732481' in/opt/YAMon4/includes/paths.sh
09:01:44
AddEntry: adding value --> `interface_eth1`='7670685,691459' in/opt/YAMon4/includes/paths.sh
09:01:44
AddEntry: adding value --> `interface_eth1_1`='7640316,575348' in/opt/YAMon4/includes/paths.sh
09:01:44
AddEntry: adding value --> `interface_wlan0`='70016,0' in/opt/YAMon4/includes/paths.sh
09:01:44
AddEntry: adding value --> `interface_eth0_2`='657541,7611017' in/opt/YAMon4/includes/paths.sh
09:01:44
CheckMAC2GroupinUserJS: un:kn:ow:n0:0m:ac Unknown
09:01:44
AddActiveDevices --> ce:00:1e:22:67:7a-fe80::cc00:1eff:fe22:677a/64 added to /tmp/yamon/mac-ip.txt
09:01:44
AddActiveDevices --> c8:2a:14:58:2c:0f-fe80::14ca:538:dc14:7301 added to /tmp/yamon/mac-ip.txt
09:01:44
CheckGroupChain: Adding group chain to iptables: YAMONv40_Unknown
09:01:45
AddActiveDevices --> c8:2a:14:58:2c:0f-2001:470:8c46:0:d93a:cc7d:febd:4b75 added to /tmp/yamon/mac-ip.txt
09:01:45
AddActiveDevices --> ac:bc:32:8e:d7:69-fe80::14d7:290:7d0c:d452 added to /tmp/yamon/mac-ip.txt
09:01:46
AddActiveDevices --> ac:bc:32:8e:d7:69-2001:470:8c46:0:6dd4:f07:c81:bace added to /tmp/yamon/mac-ip.txt
09:01:46
AddActiveDevices --> 60:14:66:bf:ae:2f-2001:470:8c46:0:842e:b866:e180:e0f5 added to /tmp/yamon/mac-ip.txt
09:01:46
AddActiveDevices --> 30:b5:c2:84:d3:5e-192.168.253.1 added to /tmp/yamon/mac-ip.txt
09:01:46
AddActiveDevices --> f8:8e:85:aa:ed:70-192.168.252.1 added to /tmp/yamon/mac-ip.txt
09:01:46
CheckGroupChain: Adding group chain to iptables: YAMONv40_Unknown
09:01:47
AddActiveDevices --> d8:a2:5e:29:1a:c2-192.168.253.155 added to /tmp/yamon/mac-ip.txt
09:01:47
AddActiveDevices --> cc:08:8d:66:51:a8-192.168.253.172 added to /tmp/yamon/mac-ip.txt
09:01:47
AddActiveDevices --> c8:2a:14:58:2c:0f-192.168.253.5 added to /tmp/yamon/mac-ip.txt
09:01:47
AddActiveDevices --> b0:34:95:79:a8:ef-192.168.253.135 added to /tmp/yamon/mac-ip.txt
09:01:48
AddActiveDevices --> ac:bc:32:8e:d7:69-192.168.253.110 added to /tmp/yamon/mac-ip.txt
09:01:48
AddActiveDevices --> ac:7f:3e:0d:41:85-192.168.253.192 added to /tmp/yamon/mac-ip.txt
09:01:48
AddActiveDevices --> ac:22:0b:3d:5d:b7-192.168.253.246 added to /tmp/yamon/mac-ip.txt
09:01:49
AddActiveDevices --> a8:86:dd:58:be:ce-192.168.253.229 added to /tmp/yamon/mac-ip.txt
09:01:49
AddActiveDevices --> 8c:58:77:c6:b9:e0-192.168.253.160 added to /tmp/yamon/mac-ip.txt
09:01:50
AddActiveDevices --> 70:f0:87:69:93:73-192.168.253.232 added to /tmp/yamon/mac-ip.txt
09:01:50
AddActiveDevices --> 60:fe:c5:b6:e5:b7-fe80::4ac:6395:f14c:f370 added to /tmp/yamon/mac-ip.txt
09:01:50
AddActiveDevices --> 60:fe:c5:b6:e5:b7-192.168.253.143 added to /tmp/yamon/mac-ip.txt
09:01:51
AddActiveDevices --> 60:14:66:bf:ae:2f-192.168.253.161 added to /tmp/yamon/mac-ip.txt
09:01:51
AddActiveDevices --> 5c:8d:4e:8d:85:d5-192.168.253.194 added to /tmp/yamon/mac-ip.txt
09:01:51
AddActiveDevices --> 22:e5:2a:52:99:a3-192.168.253.3 added to /tmp/yamon/mac-ip.txt
09:01:52
AddActiveDevices --> 00:27:02:16:8d:99-192.168.253.231 added to /tmp/yamon/mac-ip.txt
09:01:52
AddActiveDevices --> 30:b5:c2:84:d3:5d-fe80::32b5:c2ff:fe84:d35d/64 added to /tmp/yamon/mac-ip.txt
09:01:52
AddActiveDevices --> 56:6a:84:38:75:f8-fe80::546a:84ff:fe38:75f8/64 added to /tmp/yamon/mac-ip.txt
09:01:53
AddActiveDevices --> 30:b5:c2:84:d3:5f-192.168.252.2 added to /tmp/yamon/mac-ip.txt
09:01:53
AddActiveDevices --> 30:b5:c2:84:d3:5f-fe80::32b5:c2ff:fe84:d35f/64 added to /tmp/yamon/mac-ip.txt
09:01:53
AddActiveDevices --> 30:b5:c2:84:d3:5e-fe80::32b5:c2ff:fe84:d35e/64 added to /tmp/yamon/mac-ip.txt
09:01:54
AddActiveDevices --> 30:b5:c2:84:d3:5e-fd68:491d:be8::1/60 added to /tmp/yamon/mac-ip.txt
09:01:54
AddActiveDevices --> 30:b5:c2:84:d3:5e-2001:470:8c46::1/60 added to /tmp/yamon/mac-ip.txt
09:01:54
SetWebDirectories
09:01:54
AddSoftLink: /opt/YAMon4/www/css -> /tmp/www/css
09:01:54
AddSoftLink: /opt/YAMon4/www/images -> /tmp/www/images
09:01:54
AddSoftLink: /opt/YAMon4/data -> /tmp/www/data4
09:01:54
AddSoftLink: /opt/YAMon4/logs -> /tmp/www/logs
09:01:54
AddSoftLink: /tmp/yamon/yamon.log -> /tmp/www/logs/latest-log.html
09:01:54
AddSoftLink: /opt/YAMon4/logs/2020-04-11.html -> /tmp/www/logs/day-log.html
09:01:54
AddSoftLink: /opt/YAMon4/www/yamon4.0.html -> /tmp/www/index.html
09:01:54
WriteConfigFile: /tmp/www/js/config4.0.js
09:01:54
WriteConfigFile: _installed -> 2020-04-11 08:42:27
09:01:54
WriteConfigFile: _updated -> 2020-04-11 08:42:27
09:01:54
WriteConfigFile: _router -> TP-Link Archer C7 v2 archer-c7
09:01:54
WriteConfigFile: _firmwareName -> OpenWrt 19.07.0 r10860-a3ffeb413b
09:01:54
WriteConfigFile: _version -> 4.0.7
09:01:54
WriteConfigFile: _firmware -> 1
09:01:54
WriteConfigFile: _dbkey ->
09:01:54
WriteConfigFile: _updateTraffic ->
09:01:54
WriteConfigFile: _ispBillingDay -> 1
09:01:54
WriteConfigFile: _wwwData ->
09:01:54
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
09:01:54
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
09:01:55
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
09:01:55
new-day: 2020-04-11 / /tmp/yamon/hourly_2020-04-11.js
09:01:55
new-day: day log changed from /tmp/www/logs/day-log.html --> /opt/YAMon4/logs/2020-04-11.html
09:01:55
new hour: Start of hour 09
09:01:55
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
09:02:00
traffic.sh: --> 09:-2 -> 09:02
09:02:00
start-stop
09:02:00
Checking the network for new devices
09:02:01
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
09:02:01
UsersJSUpdated: users_updated changed to '2020-04-11 09:02:00'
09:02:01
GetDeviceGroup - no matching entry for 22:4e:7f:6f:64:09 in users.js... set to 'Unknown'
09:02:01
CheckMAC2GroupinUserJS: 22:4e:7f:6f:64:09 Unknown
09:02:01
AddNewMACGroup: adding mac2group entry for 22:4e:7f:6f:64:09 & Unknown
09:02:01
UsersJSUpdated: users_updated changed to '2020-04-11 09:02:00'
09:02:02
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
09:02:02
UsersJSUpdated: users_updated changed to '2020-04-11 09:02:00'
09:02:02
CheckMAC2GroupinUserJS: ac:bc:32:8e:d7:69 Unknown
09:02:03
Check4NewDevices: the following new devices were found:
  • 22:4e:7f:6f:64:09 192.168.253.2
  • ac:bc:32:8e:d7:69 2001:470:8c46:0:e84c:72ae:6fb9:1f1c
09:02:03
CheckMacIP4Duplicates: no duplicate entries in /tmp/yamon/mac-ip.txt
09:02:03
CheckIntervalFiles: interval file exists: /opt/YAMon4/data/2020/04/2020-04-mac_usage.js
09:02:03
SetCronEntries: updating `/etc/crontabs/root` -->
  • 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
09:02:03
ResetCron: /etc/init.d/cron stop / /etc/init.d/cron reload
09:02:04
The YAMon jobs have been scheduled in `cron`... run /opt/YAMon4/pause.sh to pause or stop the scripts
09:03:00
traffic.sh: --> 09:-1 -> 09:03
09:04:00
traffic.sh: --> 09:00 -> 09:04
09:04:01
traffic.sh: --> 09:00 -> 09:04
09:04:01
GetTraffic: Unmatched traffic
  • 2774191 0.0.0.0/0 0.0.0.0/0
09:04:01
start-stop
09:04:01
Checking the network for new devices
09:04:02
CheckMacIP4Duplicates: no duplicate entries in /tmp/yamon/mac-ip.txt
09:04:02
GetTraffic: down: 2774191 / 120941930
09:04:02
GetTraffic: re-zeroed RETURN rule in YAMONv40 (entry #)
09:04:02
GetTraffic: rebooted (205.82 < 55.60) --> save current hour data to reboot.js
09:04:02
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)
09:04:02
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)
09:04:02
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)
09:04:02
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)
09:04:03
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)
09:04:03
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)
09:04:03
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)
09:04:03
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)
09:04:03
ChangePath: changing value of `_uptime` to 205.82 (prior _uptime='55.60') in /opt/YAMon4/includes/paths.sh
09:05:00
traffic.sh: --> 09:01 -> 09:05
09:06:00
traffic.sh: --> 09:02 -> 09:06
09:07:00
traffic.sh: --> 09:03 -> 09:07
09:08:00
traffic.sh: --> 09:04 -> 09:08
09:08:01
traffic.sh: --> 09:04 -> 09:08
09:08:03
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)
09:08:03
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)
09:08:03
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)
09:08:03
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)
09:08:03
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)
09:08:03
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)
09:08:04
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)
09:08:04
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)
09:08:05
ChangePath: changing value of `_uptime` to 446.67 (prior _uptime='205.82') in /opt/YAMon4/includes/paths.sh
09:09:00
traffic.sh: --> 09:05 -> 09:09
09:10:00
traffic.sh: --> 09:06 -> 09:10
09:11:00
traffic.sh: --> 09:07 -> 09:11
09:12:00
traffic.sh: --> 09:08 -> 09:12
09:12:01
traffic.sh: --> 09:08 -> 09:12
09:12:03
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)
09:12:04
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)
09:12:04
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)
09:12:04
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)
09:12:04
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)
09:12:04
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)
09:12:04
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)
09:12:04
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)
09:12:05
ChangePath: changing value of `_uptime` to 687.12 (prior _uptime='446.67') in /opt/YAMon4/includes/paths.sh
09:13:00
traffic.sh: --> 09:09 -> 09:13
09:14:00
traffic.sh: --> 09:10 -> 09:14
09:15:00
traffic.sh: --> 09:11 -> 09:15
09:16:00
traffic.sh: --> 09:12 -> 09:16
09:16:01
traffic.sh: --> 09:12 -> 09:16
09:16:04
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)
09:16:04
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)
09:16:04
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)
09:16:04
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)
09:16:04
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)
09:16:04
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)
09:16:04
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)
09:16:04
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)
09:16:06
ChangePath: changing value of `_uptime` to 927.19 (prior _uptime='687.12') in /opt/YAMon4/includes/paths.sh
09:17:00
traffic.sh: --> 09:13 -> 09:17
09:17:49
AddEntry: adding value --> `_path2logs`='/opt/YAMon4/logs/' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `_path2data`='/opt/YAMon4/data/' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `dailyLogFile`='/opt/YAMon4/logs/2020-04-11.html' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `_currentInterval`='2020-04' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `_path2CurrentMonth`='/opt/YAMon4/data/2020/04/' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `_intervalDataFile`='/opt/YAMon4/data/2020/04/2020-04-mac_usage.js' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `_uptime`='1032.53' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `lastCheckinHour`='56' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `_path2bu`='/opt/YAMon4/daily-bu/' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `_usersFile`='/opt/YAMon4/data/users.js' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `tmpUsersFile`='/tmp/yamon/users.js' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `_lastSeenFile`='/opt/YAMon4/data/lastseen.js' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `tmpLastSeen`='/tmp/yamon/lastseen.js' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `rawtraffic_day`='/opt/YAMon4/data/2020/04/raw-traffic-2020-04-11.txt' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `rawtraffic_hr`='/tmp/yamon/raw-traffic-2020-04-11-09.txt' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `hourlyDataFile`='/tmp/yamon/hourly_2020-04-11.js' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `macIPFile`='/tmp/yamon/mac-ip.txt' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `YAMON_IPTABLES`='YAMONv40' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `_generic_ipv4`='0.0.0.0/0' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `_generic_ipv6`='::/0' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `_IPCmd`='ip neigh show' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `send2FTP`='Send2FTP_0' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `_conntrack`='/proc/net/nf_conntrack' in/opt/YAMon4/includes/paths.sh
09:17:49
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
09:17:49
AddEntry: adding value --> `_liveFilePath`='/tmp/www/js/live_data4.js' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `doCurrConnections`='CurrentConnections_1' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `doArchiveLiveUpdates`='ArchiveLiveUpdates_0' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `hourlyDataTemplate`='hourlyData4({\"id\":\"%s\",\"hour\":\"%s\",\"down\":\"%s\",\"up\":\"%s\"})' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `currentlyUnlimited`='0' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `nameFromStaticLeases`='StaticLeases_OpenWRT' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `deviceIPField`='2' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `deviceNameField`='3' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `_dnsmasq_conf`='/tmp/etc/dnsmasq.conf' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `_dnsmasq_leases`='/tmp/dhcp.leases' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `_wwwPath`='/tmp/www/' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `_wwwURL`='/yamon' in/opt/YAMon4/includes/paths.sh
09:17:49
AddEntry: adding value --> `_iptablesWait`='-w -W1' in/opt/YAMon4/includes/paths.sh
09:17:50
AddEntry: adding value --> `_lan_iface`='br-lan' in/opt/YAMon4/includes/paths.sh
09:17:50
AddEntry: adding value --> `_interfaces`='br-lan' in/opt/YAMon4/includes/paths.sh
09:17:50
AddEntry: adding value --> `ip6tablesFn`='IP6Enabled' in/opt/YAMon4/includes/paths.sh
09:17:50
AddEntry: adding value --> `ip6Enabled`='1' in/opt/YAMon4/includes/paths.sh
09:17:50
AddEntry: adding value --> `nameFromDNSMasqConf`='NullFunction' in/opt/YAMon4/includes/paths.sh
09:17:50
AddEntry: adding value --> `nameFromDNSMasqLease`='DNSMasqLease' in/opt/YAMon4/includes/paths.sh
09:17:50
AddEntry: adding value --> `_max_digits`='18' in/opt/YAMon4/includes/paths.sh
09:17:50
AddEntry: adding value --> `_setRenice`='NoRenice' in/opt/YAMon4/includes/paths.sh
09:17:50
start-stop
___ ___ __ ___ ___ \\\\ //// //\\ ||||\ /|||| _____ __ ____ \\\\ //// ///\\\ ||||\\//|||| ///|\\\ ||//|\\\ \\\'/// ////\\\\ ||||\\//|||| ////^\\\\ |||/^\||| \\|// //// \\\\ |||| \/ |||| ||| ||| ||| ||| //// //////\\\\\\ |||| |||| \\\\.//// ||| ||| //// //// \\\\|||| |||| \\\|/// ||| ||| Yet Another Monitor (v: 4.0.7) Copyright (c) 2013-present Al Caughey All rights reserved. https://usage-monitoring.com
09:17:50
YAMon:: Server Rebooted
09:17:50
YAMon:: version 4.0.7 _loglevel: 1
09:17:50
SetupIPChains --> iptables
09:17:50
CheckChain: YAMONv40 exists in iptables
09:17:50
CheckChain: YAMONv40Entry exists in iptables
09:17:50
CheckChain: YAMONv40Local exists in iptables
09:17:50
AddPrivateBlocks: iptables / 'YAMONv40' / 'YAMONv40Entry' / 'YAMONv40Local' / 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
09:17:50
AddLocalIPs: iptables / 'YAMONv40' / 'YAMONv40Entry' / 'YAMONv40Local' / 255.255.255.255,224.0.0.1,127.0.0.1
09:17:51
CheckTables: 'iptables' rule YAMONv40Entry exists in chain FORWARD
09:17:51
CheckTables: 'iptables' rule YAMONv40Entry exists in chain INPUT
09:17:51
CheckTables: 'iptables' rule YAMONv40Entry exists in chain OUTPUT
09:17:51
SetupIPChains --> ip6tables
09:17:51
CheckChain: YAMONv40 exists in ip6tables
09:17:51
CheckChain: YAMONv40Entry exists in ip6tables
09:17:51
CheckChain: YAMONv40Local exists in ip6tables
09:17:51
AddPrivateBlocks: ip6tables / 'YAMONv40' / 'YAMONv40Entry' / 'YAMONv40Local' / fc00::/7,ff02::/7
09:17:51
AddLocalIPs: ip6tables / 'YAMONv40' / 'YAMONv40Entry' / 'YAMONv40Local' /
09:17:51
CheckTables: 'ip6tables' rule YAMONv40Entry exists in chain FORWARD
09:17:51
CheckTables: 'ip6tables' rule YAMONv40Entry exists in chain INPUT
09:17:51
CheckTables: 'ip6tables' rule YAMONv40Entry exists in chain OUTPUT
09:17:51
AddNetworkInterfaces:
09:17:51
AddNetworkInterfaces: br-lan --> 30:b5:c2:84:d3:5e
  • 192.168.253.1
  • 2001:470:8c46::1/60
  • fd68:491d:be8::1/60
  • fe80::32b5:c2ff:fe84:d35e/64
09:17:51
CheckMAC2GroupinUserJS: 30:b5:c2:84:d3:5e Interfaces
09:17:52
CheckMAC2GroupinUserJS: 30:b5:c2:84:d3:5e Interfaces
09:17:52
CheckMAC2GroupinUserJS: 30:b5:c2:84:d3:5e Interfaces
09:17:52
CheckMAC2GroupinUserJS: 30:b5:c2:84:d3:5e Interfaces
09:17:53
AddNetworkInterfaces: eth0 --> 30:b5:c2:84:d3:5f
  • fe80::32b5:c2ff:fe84:d35f/64
09:17:53
CheckMAC2GroupinUserJS: 30:b5:c2:84:d3:5f Interfaces
09:17:53
AddNetworkInterfaces: eth0.2 --> 30:b5:c2:84:d3:5f
  • 192.168.252.2
  • fe80::32b5:c2ff:fe84:d35f/64
09:17:53
CheckMAC2GroupinUserJS: 30:b5:c2:84:d3:5f Interfaces
09:17:53
CheckMAC2GroupinUserJS: 30:b5:c2:84:d3:5f Interfaces
09:17:54
AddNetworkInterfaces: eth1 --> 30:b5:c2:84:d3:5e
  • fe80::32b5:c2ff:fe84:d35e/64
09:17:54
CheckMAC2GroupinUserJS: 30:b5:c2:84:d3:5e Interfaces
09:17:54
AddNetworkInterfaces: ifb4eth0.2 --> ce:00:1e:22:67:7a
  • fe80::cc00:1eff:fe22:677a/64
09:17:54
CheckMAC2GroupinUserJS: ce:00:1e:22:67:7a Interfaces
09:17:55
AddNetworkInterfaces: wlan0 --> 30:b5:c2:84:d3:5d
  • fe80::32b5:c2ff:fe84:d35d/64
09:17:55
CheckMAC2GroupinUserJS: 30:b5:c2:84:d3:5d Interfaces
09:17:55
AddNetworkInterfaces: wlan1 --> 30:b5:c2:84:d3:5e
  • fe80::32b5:c2ff:fe84:d35e/64
09:17:55
CheckMAC2GroupinUserJS: 30:b5:c2:84:d3:5e Interfaces
09:17:55
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
09:17:55
AddEntry: adding value --> `interface_br_lan`='829082217,33908848' in/opt/YAMon4/includes/paths.sh
09:17:56
AddEntry: adding value --> `interface_ifb4eth0_2`='840723791,840723791' in/opt/YAMon4/includes/paths.sh
09:17:56
AddEntry: adding value --> `interface_wlan1`='580100,229111' in/opt/YAMon4/includes/paths.sh
09:17:56
AddEntry: adding value --> `interface_eth0`='49292869,843674264' in/opt/YAMon4/includes/paths.sh
09:17:56
AddEntry: adding value --> `interface_eth1`='831537723,41434256' in/opt/YAMon4/includes/paths.sh
09:17:56
AddEntry: adding value --> `interface_eth1_1`='828909966,33699303' in/opt/YAMon4/includes/paths.sh
09:17:56
AddEntry: adding value --> `interface_wlan0`='280389,0' in/opt/YAMon4/includes/paths.sh
09:17:56
AddEntry: adding value --> `interface_eth0_2`='47584941,831893498' in/opt/YAMon4/includes/paths.sh
09:17:56
CheckMAC2GroupinUserJS: un:kn:ow:n0:0m:ac Unknown
09:17:56
AddActiveDevices --> ac:bc:32:8e:d7:69-2001:470:8c46:0:e84c:72ae:6fb9:1f1c added to /tmp/yamon/mac-ip.txt
09:17:56
AddActiveDevices --> 22:4e:7f:6f:64:09-192.168.253.2 added to /tmp/yamon/mac-ip.txt
09:17:57
AddActiveDevices --> ce:00:1e:22:67:7a-fe80::cc00:1eff:fe22:677a/64 added to /tmp/yamon/mac-ip.txt
09:17:57
AddActiveDevices --> c8:2a:14:58:2c:0f-fe80::14ca:538:dc14:7301 added to /tmp/yamon/mac-ip.txt
09:17:57
AddActiveDevices --> c8:2a:14:58:2c:0f-2001:470:8c46:0:d93a:cc7d:febd:4b75 added to /tmp/yamon/mac-ip.txt
09:17:58
AddActiveDevices --> ac:bc:32:8e:d7:69-fe80::14d7:290:7d0c:d452 added to /tmp/yamon/mac-ip.txt
09:17:58
AddActiveDevices --> ac:bc:32:8e:d7:69-2001:470:8c46:0:6dd4:f07:c81:bace added to /tmp/yamon/mac-ip.txt
09:17:58
AddActiveDevices --> 60:14:66:bf:ae:2f-2001:470:8c46:0:842e:b866:e180:e0f5 added to /tmp/yamon/mac-ip.txt
09:17:58
AddActiveDevices --> 30:b5:c2:84:d3:5e-192.168.253.1 added to /tmp/yamon/mac-ip.txt
09:17:59
AddActiveDevices --> f8:8e:85:aa:ed:70-192.168.252.1 added to /tmp/yamon/mac-ip.txt
09:17:59
AddActiveDevices --> d8:a2:5e:29:1a:c2-192.168.253.155 added to /tmp/yamon/mac-ip.txt
09:17:59
AddActiveDevices --> cc:08:8d:66:51:a8-192.168.253.172 added to /tmp/yamon/mac-ip.txt
09:17:59
AddActiveDevices --> c8:2a:14:58:2c:0f-192.168.253.5 added to /tmp/yamon/mac-ip.txt
09:18:00
traffic.sh: --> 09:14 -> 09:18
09:18:00
AddActiveDevices --> b0:34:95:79:a8:ef-192.168.253.135 added to /tmp/yamon/mac-ip.txt
09:18:00
GetMACbyIP - no matching entry for 192\.168\.252\.2 in users.js
09:18:00
AddActiveDevices --> ac:bc:32:8e:d7:69-192.168.253.110 added to /tmp/yamon/mac-ip.txt
09:18:01
AddActiveDevices --> ac:7f:3e:0d:41:85-192.168.253.192 added to /tmp/yamon/mac-ip.txt
09:18:01
AddActiveDevices --> ac:22:0b:3d:5d:b7-192.168.253.246 added to /tmp/yamon/mac-ip.txt
09:18:02
AddActiveDevices --> a8:86:dd:58:be:ce-192.168.253.229 added to /tmp/yamon/mac-ip.txt
09:18:03
AddActiveDevices --> 8c:58:77:c6:b9:e0-192.168.253.160 added to /tmp/yamon/mac-ip.txt
09:18:03
AddActiveDevices --> 70:f0:87:69:93:73-192.168.253.232 added to /tmp/yamon/mac-ip.txt
09:18:04
AddActiveDevices --> 60:fe:c5:b6:e5:b7-fe80::4ac:6395:f14c:f370 added to /tmp/yamon/mac-ip.txt
09:18:04
AddActiveDevices --> 60:fe:c5:b6:e5:b7-192.168.253.143 added to /tmp/yamon/mac-ip.txt
09:18:04
AddActiveDevices --> 60:14:66:bf:ae:2f-192.168.253.161 added to /tmp/yamon/mac-ip.txt
09:18:04
AddActiveDevices --> 5c:8d:4e:8d:85:d5-192.168.253.194 added to /tmp/yamon/mac-ip.txt
09:18:05
AddActiveDevices --> 22:e5:2a:52:99:a3-192.168.253.3 added to /tmp/yamon/mac-ip.txt
09:18:05
AddActiveDevices --> 00:27:02:16:8d:99-192.168.253.231 added to /tmp/yamon/mac-ip.txt
09:18:06
AddActiveDevices --> 30:b5:c2:84:d3:5d-fe80::32b5:c2ff:fe84:d35d/64 added to /tmp/yamon/mac-ip.txt
09:18:06
AddActiveDevices --> 56:6a:84:38:75:f8-fe80::546a:84ff:fe38:75f8/64 added to /tmp/yamon/mac-ip.txt
09:18:06
AddActiveDevices --> 30:b5:c2:84:d3:5f-192.168.252.2 added to /tmp/yamon/mac-ip.txt
09:18:06
AddActiveDevices --> 30:b5:c2:84:d3:5f-fe80::32b5:c2ff:fe84:d35f/64 added to /tmp/yamon/mac-ip.txt
09:18:07
AddActiveDevices --> 30:b5:c2:84:d3:5e-fe80::32b5:c2ff:fe84:d35e/64 added to /tmp/yamon/mac-ip.txt
09:18:07
AddActiveDevices --> 30:b5:c2:84:d3:5e-fd68:491d:be8::1/60 added to /tmp/yamon/mac-ip.txt
09:18:07
AddActiveDevices --> 30:b5:c2:84:d3:5e-2001:470:8c46::1/60 added to /tmp/yamon/mac-ip.txt
09:18:08
SetWebDirectories
09:18:08
AddSoftLink: /opt/YAMon4/www/css -> /tmp/www/css
09:18:08
AddSoftLink: /opt/YAMon4/www/images -> /tmp/www/images
09:18:08
AddSoftLink: /opt/YAMon4/data -> /tmp/www/data4
09:18:08
AddSoftLink: /opt/YAMon4/logs -> /tmp/www/logs
09:18:08
AddSoftLink: /tmp/yamon/yamon.log -> /tmp/www/logs/latest-log.html
09:18:08
AddSoftLink: /opt/YAMon4/logs/2020-04-11.html -> /tmp/www/logs/day-log.html
09:18:08
AddSoftLink: /opt/YAMon4/www/yamon4.0.html -> /tmp/www/index.html
09:18:08
WriteConfigFile: /tmp/www/js/config4.0.js
09:18:08
WriteConfigFile: _installed -> 2020-04-11 08:42:27
09:18:08
WriteConfigFile: _updated -> 2020-04-11 08:42:27
09:18:08
WriteConfigFile: _router -> TP-Link Archer C7 v2 archer-c7
09:18:08
WriteConfigFile: _firmwareName -> OpenWrt 19.07.0 r10860-a3ffeb413b
09:18:08
WriteConfigFile: _version -> 4.0.7
09:18:08
WriteConfigFile: _firmware -> 1
09:18:08
WriteConfigFile: _dbkey ->
09:18:08
WriteConfigFile: _updateTraffic ->
09:18:08
WriteConfigFile: _ispBillingDay -> 1
09:18:08
WriteConfigFile: _wwwData ->
09:18:08
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
09:18:08
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
09:18:08
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
09:18:08
new-day: 2020-04-11 / /tmp/yamon/hourly_2020-04-11.js
09:18:08
new-day: day log changed from /tmp/www/logs/day-log.html --> /opt/YAMon4/logs/2020-04-11.html
09:18:08
new hour: Start of hour 09
09:18:08
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
09:18:13
start-stop
09:18:13
Checking the network for new devices
09:18:14
CheckMacIP4Duplicates: no duplicate entries in /tmp/yamon/mac-ip.txt
09:18:14
CheckIntervalFiles: interval file exists: /opt/YAMon4/data/2020/04/2020-04-mac_usage.js
09:18:14
SetCronEntries: updating `/etc/crontabs/root` -->
  • 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
09:18:14
ResetCron: /etc/init.d/cron stop / /etc/init.d/cron reload
09:18:15
The YAMon jobs have been scheduled in `cron`... run /opt/YAMon4/pause.sh to pause or stop the scripts
```

PS Read HTML5 \

to use these "collapsing log file" sections.

OzTechGeek commented 4 years ago

@richb-hanover I originally had the same issue, the problem is with the symbolic link for "yamon" run the following:

rm /www/yamon
ln -s /tmp/www /www/yamon
reboot

Hope this helps.

sergentum commented 3 years ago

still can't get it work. what's the point of doin symlink to /tmp/www if it doesn't exist? whole tmp dir is in memory, so after reboot it doesn't exist.