I have occasionally mentioned that a new & enhanced version of the stats graphing system is to be released soon.
Programming this in 'C', Burakkucat has developed a Linux/Windows cross-platform stats harvesting program for the HG612 (a single version for use on ADSL & VDSL2 connections) & I have further developed it to munge the obtained data into a format that can be graphed (currently using a revised version of the graphpd.BAT graphing script for Windows users).
I have fully tested the .exe program resulting from compiling the C code with MingW over a couple of months & have found it to be very quick in operation & far more reliable than the scripted versions when coping with various flavours of virus checkers etc. hogging all the PC's resources & causing gaps in the harvested data.
Currently the program is controlled by a batch file called by a simple VBS script that is run every minute via Windows Task Scheduler (or via Cron for Linux users).
I would like to release at least the VDSL2 version very soon. However, I would firstly like it to use an .ini configuration file to make setting the defalut variables for different users' systems as easy as possible & avoid having to use a controlling batch file.
Unfortunately, as I am not a programmer and I have limited available time to research this, I have ground to a halt.
Initially, I imagine a basic ini file would look something like this:-
[login]
IPaddress=192.168.1.1
Username=admin
Password=admin
Shell=sh
[folder_locations]
Drive=C:
Main_folder=\HG612_Stats
Apps=\Apps
Program=\Program
Ongoing_Stats=\Ongoing_Stats
Current_Stats=\Current_Stats
The program would then read the ini file each time it is run from Task Scheduler/Cron & store the values as global variables.
The same ini file could then be used for obtaining & storing snapshot data and ongoing data, along with graphing programs already partially developed.
I/we would be happy to provide the C code "as is" if anyone was willing/able to add in the facility to use an ini configuration file for the default variables.
Initially I would be happy to manually edit the ini file, but at some stage, it would be nice to use a graphical front end where folder locations etc. could be chosen via a point & click method via a GUI rather than the "old fashioned" manual method.
Is anyone up for assisting with this?
It would have to be written in C, for inclusion into the currently developed program(s).
Intentionally, graphs will still only be generated on demand. However this is easily automated via Task Scheduler (if required).