YAMon 3.4 - usage monitoring for your router

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Goto page Previous  1, 2, 3 ... 43, 44, 45, 46  Next
Author Message
yoyoma2
DD-WRT User


Joined: 24 Sep 2016
Posts: 371

PostPosted: Wed Dec 08, 2021 3:28    Post subject: Reply with quote
Here's a hacked version of the yamon 3.4.x install script. It uses https instead of http and then automatically edits the newly downloaded getlatest.sh to also use https instead of http (an automated version of what was described in the previous post).


install.zip
 Description:
Hacked yamon 3.x install script

Download
 Filename:  install.zip
 Filesize:  2.35 KB
 Downloaded:  263 Time(s)

Sponsor
mac913
DD-WRT Guru


Joined: 02 May 2008
Posts: 1848
Location: Canada

PostPosted: Wed Dec 15, 2021 18:38    Post subject: Reply with quote
yoyoma2 wrote:
Here's a hacked version of the yamon 3.4.x install script. It uses https instead of http and then automatically edits the newly downloaded getlatest.sh to also use https instead of http (an automated version of what was described in the previous post).


Lately YAMon 3.4.6 would not load and the web page showing "connecting to www.gstatic.com" and never connecting and the YAMon not loading.

I installed the "hacked" install of YAMon 3.4.7 and has the same issue. Any body else having the same problem?

TIA!

_________________
Home Network on Telus 1Gb PureFibre - 10GbE Copper Backbone
2x R7800 - Gateway & WiFi & 3xWireGuard - DDWRT r53562 Std k4.9

Off Site 1

R7000 - Gateway & WiFi & WireGuard - DDWRT r54517 Std
E3000 - Station Bridge - DDWRT r49626 Mega K4.4

Off Site 2

R7000 - Gateway & WiFi - DDWRT r54517 Std
E2000 - Wired ISP IPTV PVR Blocker - DDWRT r35531


YAMon 3.4.6 | DNSCrypt-Proxy V2
yoyoma2
DD-WRT User


Joined: 24 Sep 2016
Posts: 371

PostPosted: Wed Dec 15, 2021 19:42    Post subject: Reply with quote
No such problem here. Does your yamon3.4.html contain the following line?
Code:
root@DD-WRT:/opt/YAMon3/www# grep gstatic *
yamon3.4.html:          <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>

Can you wget it as follows?
Code:
root@DD-WRT:/opt/YAMon3/www# wget https://www.gstatic.com/charts/loader.js

How about opening https://www.gstatic.com/charts/loader.js in a web browser?
mac913
DD-WRT Guru


Joined: 02 May 2008
Posts: 1848
Location: Canada

PostPosted: Thu Dec 16, 2021 0:08    Post subject: Reply with quote
yoyoma2 wrote:
No such problem here. Does your yamon3.4.html contain the following line?
Code:
root@DD-WRT:/opt/YAMon3/www# grep gstatic *
yamon3.4.html:          <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>

Can you wget it as follows?
Code:
root@DD-WRT:/opt/YAMon3/www# wget https://www.gstatic.com/charts/loader.js

How about opening https://www.gstatic.com/charts/loader.js in a web browser?


Running the 2 commands fixed it. It's working now.

Thanks!

_________________
Home Network on Telus 1Gb PureFibre - 10GbE Copper Backbone
2x R7800 - Gateway & WiFi & 3xWireGuard - DDWRT r53562 Std k4.9

Off Site 1

R7000 - Gateway & WiFi & WireGuard - DDWRT r54517 Std
E3000 - Station Bridge - DDWRT r49626 Mega K4.4

Off Site 2

R7000 - Gateway & WiFi - DDWRT r54517 Std
E2000 - Wired ISP IPTV PVR Blocker - DDWRT r35531


YAMon 3.4.6 | DNSCrypt-Proxy V2
jrush64
DD-WRT Novice


Joined: 17 Dec 2021
Posts: 1

PostPosted: Sat Dec 18, 2021 12:42    Post subject: Reply with quote
yoyoma2 wrote:
Here's a hacked version of the yamon 3.4.x install script. It uses https instead of http and then automatically edits the newly downloaded getlatest.sh to also use https instead of http (an automated version of what was described in the previous post).


Thank you for this. I've been trying to install the version from the site since yesterday and I kept getting the newline error.

I tried this and it installed easily.
ddaniel51
DD-WRT Guru


Joined: 19 Feb 2013
Posts: 1464

PostPosted: Thu Dec 30, 2021 16:55    Post subject: Reply with quote
In order to keep my data and logs safe from a wipe of my /opt/YAMon3 folder I moved them outside of that folder to the root of /opt and changed their pointers in config.file.

To make the transition to a new year seamless I prepared a new folder in my /opt/data named for the coming year ie /opt/data/2022 and prefilled it with 12 folders named for the months 01 thru 12. Yamon is happy to have the folders already made and has no issue with the transitions.

Happy New Year.

_________________
Segment 1 XR700 10Gb LAN, 1Gb WAN ISP BS
Wired AP 1 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 2 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 3 Unifi Wifi 6 LR US 1Gb LAN
Syslog Services Asustor 7110T NAS 10GB
NetGear XS716T 10GB Switch
download1.dd-wrt.com/dd-wrtv2/downloads/betas/ (Brain Slayer)
YAMon https://usage-monitoring.com/index.php
mac913
DD-WRT Guru


Joined: 02 May 2008
Posts: 1848
Location: Canada

PostPosted: Tue Jan 04, 2022 17:03    Post subject: Reply with quote
ddaniel51 wrote:
In order to keep my data and logs safe from a wipe of my /opt/YAMon3 folder I moved them outside of that folder to the root of /opt and changed their pointers in config.file.

To make the transition to a new year seamless I prepared a new folder in my /opt/data named for the coming year ie /opt/data/2022 and prefilled it with 12 folders named for the months 01 thru 12. Yamon is happy to have the folders already made and has no issue with the transitions.

Happy New Year.


Yamon3 would not load in the New Year. Checked the data folder and sure enough no 2022 folder. I shutdown YAMon3; I created the 2022 folder along with the numbered Months as you suggested; then ran the startup.sh and the web page loads up.

Thanks & Happy New Year!

_________________
Home Network on Telus 1Gb PureFibre - 10GbE Copper Backbone
2x R7800 - Gateway & WiFi & 3xWireGuard - DDWRT r53562 Std k4.9

Off Site 1

R7000 - Gateway & WiFi & WireGuard - DDWRT r54517 Std
E3000 - Station Bridge - DDWRT r49626 Mega K4.4

Off Site 2

R7000 - Gateway & WiFi - DDWRT r54517 Std
E2000 - Wired ISP IPTV PVR Blocker - DDWRT r35531


YAMon 3.4.6 | DNSCrypt-Proxy V2
yoyoma2
DD-WRT User


Joined: 24 Sep 2016
Posts: 371

PostPosted: Tue Jan 04, 2022 21:17    Post subject: Reply with quote
What is your ISP bill roll-over date? If you haven't reached it yet (eg. 15th) the the hourly data for the first 14 days of 2022 would normally fall under december 2021. I don't have a 2022 folder yet and my yamon (HTML: 3.4.5 / Script: 3.4.7) is running fine.

I've seen cases where yamon shutdown/restart fixes it unrelated to year rollover.
Fried Chicken
DD-WRT User


Joined: 12 Jun 2019
Posts: 142

PostPosted: Thu Jan 06, 2022 22:56    Post subject: Reply with quote
mac913 wrote:
yoyoma2 wrote:
Here's a hacked version of the yamon 3.4.x install script. It uses https instead of http and then automatically edits the newly downloaded getlatest.sh to also use https instead of http (an automated version of what was described in the previous post).


Lately YAMon 3.4.6 would not load and the web page showing "connecting to www.gstatic.com" and never connecting and the YAMon not loading.

I installed the "hacked" install of YAMon 3.4.7 and has the same issue. Any body else having the same problem?

TIA!


Why does yamon need anything from the internet to run?

_________________
Google is Spyware
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Thu Jan 06, 2022 23:44    Post subject: Reply with quote
Because the installer script doesn't pull the JavaScript files that the html page uses when it installs to your USB drive because the html file is using linked JavaScript files...

https://github.com/al-caughey/YAMon-v3/blob/master/www/yamon3.4.html

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Fried Chicken
DD-WRT User


Joined: 12 Jun 2019
Posts: 142

PostPosted: Fri Jan 07, 2022 16:04    Post subject: Reply with quote
Google (sorry, aLpHaBEt) is nothing more than spyware.
_________________
Google is Spyware
MesMurized
DD-WRT User


Joined: 08 Aug 2017
Posts: 83

PostPosted: Sat Jan 08, 2022 3:00    Post subject: Reply with quote
kernel-panic69 wrote:
Because the installer script doesn't pull the JavaScript files that the html page uses when it installs to your USB drive because the html file is using linked JavaScript files...
Thanks. Tried everything to get this installed for the 1st time -- no luck. Fixed the newline problem only to get another. Lots of good ideas, but I'm either too dense or they don't work in all environments. P9000-r47976.

Will keep trolling...
ddaniel51
DD-WRT Guru


Joined: 19 Feb 2013
Posts: 1464

PostPosted: Sat Jan 08, 2022 16:54    Post subject: Reply with quote
Here is my complete Yamon3 folder from the R9000.
Folders data, logs, daily-bu are kept external to Y3 in the /opt root.



YAMon3.zip
 Description:

Download
 Filename:  YAMon3.zip
 Filesize:  152.07 KB
 Downloaded:  157 Time(s)


_________________
Segment 1 XR700 10Gb LAN, 1Gb WAN ISP BS
Wired AP 1 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 2 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 3 Unifi Wifi 6 LR US 1Gb LAN
Syslog Services Asustor 7110T NAS 10GB
NetGear XS716T 10GB Switch
download1.dd-wrt.com/dd-wrtv2/downloads/betas/ (Brain Slayer)
YAMon https://usage-monitoring.com/index.php
MesMurized
DD-WRT User


Joined: 08 Aug 2017
Posts: 83

PostPosted: Sat Jan 08, 2022 19:00    Post subject: Reply with quote
ddaniel51 wrote:
Here is my complete Yamon3 folder from the R9000.

Thanks @ddaniel51. Will get to it soon. Started today with a wonky flash -- buss errors on /opt/bin/* loads. Guess it's time to replace Confused

Update: Working great. Better than I thought. Thanks again.

_________________
Current: Netgear R9000 DD-WRT v3.0-r55363 std (03/13/24)
Retired: Linksys WRT32X r39296, TP-Link Archer C7 v2, LinkSys WRT54G v5
ddaniel51
DD-WRT Guru


Joined: 19 Feb 2013
Posts: 1464

PostPosted: Thu Jan 13, 2022 4:09    Post subject: Reply with quote
The best thing I did with YAMon was to install it on a 250gb Sandisk Type C SSD with 2 partitions on it named opt and jffs.

They auto mount as /opt and /jffs.

Haven't had a USB problem since mounting it.

_________________
Segment 1 XR700 10Gb LAN, 1Gb WAN ISP BS
Wired AP 1 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 2 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 3 Unifi Wifi 6 LR US 1Gb LAN
Syslog Services Asustor 7110T NAS 10GB
NetGear XS716T 10GB Switch
download1.dd-wrt.com/dd-wrtv2/downloads/betas/ (Brain Slayer)
YAMon https://usage-monitoring.com/index.php
Goto page Previous  1, 2, 3 ... 43, 44, 45, 46  Next Display posts from previous:    Page 44 of 46
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum