Kitz Forum
Broadband Related => Router Monitoring Software => Topic started by: kitz on June 08, 2018, 10:18:42 PM
-
Until I have time to write a more in-depth help instructions this is a work in progress
-------------
To enable up to date & history stats on a remote webserver (your website) then unless you want to constantly manually update files, you will need an ftp client which can automatically upload DSLstats data to your webhosts.
This will apply if you are using my Custom web interface for DSLstats (https://forum.kitz.co.uk/index.php/topic,21237.0.html) or Stuarts Custom Interface (https://forum.kitz.co.uk/index.php/topic,21488.0.html).
For windows users I recommend WinSCP (https://winscp.net/eng/download.php) which is free for use and allows custom automated scripts.
Blah blah blah
-
============
SET UP WINSCP
============
Install WinSCP.
From the Login Screen >
Create a new Session which will store the login details to your remote website.
See image capture below for example
-
=======================================
SETTING AUTOMATED TASK VIA TASK MANAGER
=======================================
From Computer Management > System Tools > Task Scheduler
>> Create Task
> Begin Task on a schedule
DSLstats_current
DSLstats_history
>> Task Trigger
One time. Repeat every 00:01:00. Duration Indefinitely.
One time. Repeat every 2 hours. Duration Indefinitely.
>> Action (Command)
> Start a program
"C:\Program Files (x86)\WinSCP\WinSCP.exe"
> Add argument
This will depend upon the location of DSLstats on your PC and where you are running the scripts from.
As a guide my arguments are shown below.
/script=d:\Connection\dslstats\WinSCP_scripts\DSLstats_current.txt /log=d:\Connection\dslstats\WinSCP_scripts\log_current.txt
/script=d:\Connection\dslstats\WinSCP_scripts\DSLstats_history.txt /log=d:\Connection\dslstats\WinSCP_scripts\log_history.txt
Note re the arguments.
I've included the code for logging.
This may be useful whilst setting up the script, but once you have it working correctly I recommend you delete logging as the file can soon grow quite large for the current stats. So just use /script=d:\Connection\dslstats\WinSCP_scripts\DSLstats_current.txt
-
Placeholder for DSLstats_current script
PS aware that DSLstats can now do this, but I will add the scripts later in case anyone is interested.
-
Placeholder for DSLstats_history script
-
Placeholder