Im in the process of setting up YAMon (GREAT little tool, btw), and I've got a question.. Having enabled FTP backup, how is this kicked off? How often does it run?
My Config:
_ftp_site='x.x.x.x'
_ftp_user='xxxx'
_ftp_pswd='xxxx'
_ftp_dir='/xxx/yyy/zzz'
Im in the process of setting up YAMon (GREAT little tool, btw), and I've got a question.. Having enabled FTP backup, how is this kicked off? How often does it run?
My Config:
_ftp_site='x.x.x.x'
_ftp_user='xxxx'
_ftp_pswd='xxxx'
_ftp_dir='/xxx/yyy/zzz'
good question... I thought I had a help topic about that but apparently not. It must've been blown away when I accidentally clobbered that page could of weeks ago... dang).
The files on the FTP server are updated on the same schedule as locally - see config.file:
_updatefreq='30' # number of seconds between updates
_publishInterval='2' # number of intervals between updates for to the website
With the above values, there would be updates every minute.
Im in the process of setting up YAMon (GREAT little tool, btw), and I've got a question.. Having enabled FTP backup, how is this kicked off? How often does it run?
My Config:
_ftp_site='x.x.x.x'
_ftp_user='xxxx'
_ftp_pswd='xxxx'
_ftp_dir='/xxx/yyy/zzz'
good question... I thought I had a help topic about that but apparently not. It must've been blown away when I accidentally clobbered that page could of weeks ago... dang).
The files on the FTP server are updated on the same schedule as locally - see config.file:
_updatefreq='30' # number of seconds between updates
_publishInterval='2' # number of intervals between updates for to the website
With the above values, there would be updates every minute.
Does that help?
It does help, but it doesnt explain why nothing is being copied across to the FTP server. I will try to enable logging and see whats going on tomorrow. Thanks for you help.
I got FTP working -atleast trying.. I now get the following:
ftpput: unexpected server response to STOR: 553 /Backup: Permission denied.
Entries in log:
2017-07-22 09:11:35 1 save2File --> data saved to /opt/YAMon3/data/2017/07/2017-07-22-hourly_data.js
2017-07-22 09:11:35 1 send2FTP --> /opt/YAMon3/data/2017/07/2017-07-22-hourly_data.js sent to FTP site (/Backup/)
----------------------
553 seems to indicate the filename is not allowed..? the FTP server is hosted on a Synology.
Permissions shouldnt be an issue, as I can FTP through a client and create stuff.. The user has been given admin access to the /Backup folder.
With FTP you need to create a shared Folder on the NAS with the directory structure YAMon expects to ftp the data to.
FTP will not automatically create directories.
_enable_ftp='1'
_ftp_site='192.168.1.100'
_ftp_dir='YAMon3/8500' (The 8500 is one of 3 routers I have running YAMon)
_ftp_user='xxxxx'
_ftp_pswd='xxxxxxxx'
_wwwData="data3/"
So, my NAS Directory looks like this:
YAMon3/8500/js
YAMon3/8500/data3/2017/01,02,pre-made folders for every month of the year.
YAMon3/8500/data3/2018/01,02,etc (So it's ready on New Years Eve in case I forget since I'll be 71 then)
And this is what you see if you got it right.
send2FTP --> /opt/data/2017/07/2017-07-22-hourly_data.js sent to FTP site (YAMon3/8500/data3/2017/07/2017-07-22-hourly_data.js)
send2FTP --> /opt/data/users.js sent to FTP site (YAMon3/8500/data3/users.js)
send2FTP --> /opt/YAMon3/www/js/config3.3.js sent to FTP site (YAMon3/8500/js/config3.3.js)
Have fun! _________________ 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
Yes, noticed this too after startup.sh is launched:
ls: unrecognized option: e
Also, _doLocalFiles='1' option in config.file is no longer working. YAmon page is not loading in browser:
An unexpected Java error has prevented the reports from opening properly.
Thanks for great YAmon!
al_c wrote:
I'll roll this into v3.3.2... is there anyone else out there encountering the same issue?
Posted: Sat Jul 22, 2017 16:27 Post subject: Newby
Newby here with first post. That newby is not just to the forum. It’s a reference to the universe of routers, modems, bandwidth, LANs, internet etc. After being more than half scared to death (many years off my life) about flashing my router with dd-wrt by the Peacock thread (read it all) and all the warnings in the instructions etc, I leaped and flashed. Much to my surprise it worked. Then tackled YAMon with WinSCP and PuTTY. Had never heard of them, but it all worked too and YAMon has been up and running since the 13th. Whew!
Have tinkered with both dd-wrt and YAMon a bit and have a couple of questions. Will wait until I get to know the language of this stuff better. Then, maybe I’ll be able to ask a decent question.
Thanks to Al for doing YAMon (check/donation is in the mail/PayPal) and to all you posters in this thread who help – GREAT WORK.
s _________________ 12 mbps Service; TP-Link TD-8616 Modem; TP-Link TL-WDR4300 v 1.3 Router; dd-wrt r25697; YAMon 3.3.3
Hello guys!
I recently updated YAMON to version 3.3, but I experience a problem on my LEDE router:
- I can't access Yamon page by http://192.168.1.1/user/index.html
There are no files created in: /www (in older version there used to be symbolic links to /tmp/www).
Did something change in the newer versions of the script? Do I need to create those symlinks manually?
Is _symlink2data='1' in your config.file?
If no, change it and run restart.sh.
If yes, manually delete all of the files in /tmp/www/ and run restart.sh
Does that fix things?
Sorry for late reply. _symlink2data was/is set to 1. I fixed the issue by creating a new HTTP server on a different port, which lists the Yamon3 files created in /tmp The latest version where it worked fine was 3.2.5 (I skipped some versions, so I'm not sure when it started to happen).
Shell output:
ftpput: unexpected server response to STOR: 553 Backup/YAMon3: Is a directory.
Sorry - out of town at a soccer tournament with kid#2... I'll post a help topic and debugging app for you short.
One important note (as already pointed out), the simplistic FTP functionality on your routers does not allow me to make directories on the destination server. You must create those manually.
Posted: Sun Jul 23, 2017 1:42 Post subject: Re: Newby
steve265 wrote:
Newby here with first post. That newby is not just to the forum. It’s a reference to the universe of routers, modems, bandwidth, LANs, internet etc. After being more than half scared to death (many years off my life) about flashing my router with dd-wrt by the Peacock thread (read it all) and all the warnings in the instructions etc, I leaped and flashed. Much to my surprise it worked. Then tackled YAMon with WinSCP and PuTTY. Had never heard of them, but it all worked too and YAMon has been up and running since the 13th. Whew!
Have tinkered with both dd-wrt and YAMon a bit and have a couple of questions. Will wait until I get to know the language of this stuff better. Then, maybe I’ll be able to ask a decent question.
Thanks to Al for doing YAMon (check/donation is in the mail/PayPal) and to all you posters in this thread who help – GREAT WORK.
s
Steve - thanks for the kind words (and your donation ). You've probably crossed the steepest part of the learning curve already. Glad to hear you're up and running.
Yes, noticed this too after startup.sh is launched:
ls: unrecognized option: e
Also, _doLocalFiles='1' option in config.file is no longer working. YAmon page is not loading in browser:
An unexpected Java error has prevented the reports from opening properly.
Thanks for great YAmon!
al_c wrote:
I'll roll this into v3.3.2... is there anyone else out there encountering the same issue?
I think I posted already that I've found a *much* better way to get the info I needed so the ls -e won't be necessary at all... I'll post a fix shortly.
I'll look into the dolocal stuff... I don't use it myself (and TBH really don't actually like the option). Be that as it may, I'll fire up a test router shortly and figure out what is going wrong.
Did you create a user on the Synology named YAMon with permissions?
I used the administrator name and password on my NAS.
scope2 wrote:
Not having much luck..
config.file:
_wwwData="data3/"
_enable_ftp='1'
_ftp_site='192.168.0.8'
_ftp_user='YAMon'
_ftp_pswd='xxxx'
_ftp_dir='Backup/YAMon3/' (tried Backup/YAMon3 aswell, same error)
_________________ 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
Shell output:
ftpput: unexpected server response to STOR: 553 Backup/YAMon3: Is a directory.
Sorry - out of town at a soccer tournament with kid#2... I'll post a help topic and debugging app for you short.
One important note (as already pointed out), the simplistic FTP functionality on your routers does not allow me to make directories on the destination server. You must create those manually.
Back to you ASAP
Thanks for your patience.
Al
No worries at all, enjoy your time with your family.
The folders have been created on the FTP server, I also tried using the NAS Admin user, but no difference..
I just found out about YAMon and am wanting to install it to collect data from my TP-Link Mr200 on which I have just installed LEDE.
The problem is it does not have a USB port
I see from reading information above that YAMon now has FTP and also Database logging capability. Will this enable routers without USB capabilities to log externally from the router and run reports?
If so is there a guide on how to do this anywhere?