Posted: Sun Feb 09, 2020 6:23 Post subject: YAMon4 Installation
I may have had an installation hiccup. YAMon4 after the installation isn’t using my old file for Group & Devices and all the usage history copied over form YAMon3 isn’t visible. I think because YAMon4 had created a data/2020/02 folder and only sees that history.
If you are experiencing the users_created not found issue... the problem likely is in your users.js
Some bonehead left some old code in one of the files... (and you will only encounter it if users.js does not already exist.
Your users.js likely looks like this:
Code:
var users_version="4.0.6"
var users_created="2020-01-31 05:37:08"
var users_updated="2020-01-31 12:28:52" >> /opt/YAMon4/data/users.js
//MAC -> Groups
mac2group({ "mac":"5c:ad:cf:b1:84:92", "group":"Unknown" })
mac2group({ "mac":"44:91:60:85:fd:aa", "group":"Unknown" })
mac2group({ "mac":"f8:ff:c2:55:d5:da", "group":"Unknown" })
mac2group({ "mac":"f4:f5:d8:d1:ac:c6", "group":"Unknown" })
m
...
The offending bit is the
Code:
>> /opt/YAMon4/data/users.js
If you delete that text, things (hopefully) should work (a lot better). Unfortunately the change has to be made on your router (in /opt/YAMon4/data/users.js) I cannot fix the issue from within the reports.
Sorry for the grief. Thanks to tvlz for spotting the error.
Sorry for the grief!
Al _________________ Thanks to everyone for supporting YAMon!
If you use and like YAMon and have not done so recently, please consider making a donation - thanks!
YAMon GitHub Repository
Is there any function to either have Yamon restart itself at certain times or to ensure it is running?
I just went to check some usage logs and found out Yamon hasn't been running for the past 3 weeks. This has happened before, but I usually catch it after a few days.
Is there any function to either have Yamon restart itself at certain times or to ensure it is running?
I just went to check some usage logs and found out Yamon hasn't been running for the past 3 weeks. This has happened before, but I usually catch it after a few days.
I had this happen to me a few times and ended up setting up a cron job in the end, i now restart Yamon every night and haven't had any issues since.
No reason why it couldnt be added to the /tmp/crontab file on DD-WRT I suppose. (the location on other router OS might differ).
This above command will restart YAMon every night at 3am.
Thanks - hopefully this will solve the problem!
I'm perplexed as to why the main YAMon process dies on you... that is a little distressing. It is also why I moved to a cron based system in YAMon v4. _________________ Thanks to everyone for supporting YAMon!
If you use and like YAMon and have not done so recently, please consider making a donation - thanks!
YAMon GitHub Repository
Sadly, I have to stop using YAMon because mounting a USB at /opt kills my 4 ethernet ports on the back of my router.
I don't suppose there is a way to run YAMon without using USB mount?
Inserting a USB drive into your router prevents your Ethernet ports from working?!? If yes, it sounds like you might have a larger hardware issue
If the issue is mounting the USB drive to /opt, you can change the mount point (to /mnt or /jffs) perhaps. But again, I don't see how the mount point would prevent the Ethernet ports from working
It is (theoretically) possible to run YAMon from a network share (simba or similar) but I have no idea how to do that.
Al
If you can figure _________________ Thanks to everyone for supporting YAMon!
If you use and like YAMon and have not done so recently, please consider making a donation - thanks!
YAMon GitHub Repository
Sadly, I have to stop using YAMon because mounting a USB at /opt kills my 4 ethernet ports on the back of my router.
What router and firmware are you running?
I have used a number of Netgear routers running DD-WRT firmware with USB sticks and now USB SSD drives that contain 2 partitions labeled opt and jffs and never had a problem with the ethernet ports. _________________ 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
Wow... that's odd! Your firmware is current and the r7800 is one of the most common routers using YAMon (see https://usage-monitoring.com/router-tally.php). I've never heard of this issue from any of them .