Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 ... 4 5 [6]

Author Topic: DSLstats after the demise of MDWS  (Read 19818 times)

Westie

  • Kitizen
  • ****
  • Posts: 1596
Re: DSLstats after the demise of MDWS
« Reply #75 on: March 10, 2018, 07:14:36 PM »

Thanks for the correction. :)
Logged

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 7382
  • VM Gig1 - AAISP L2TP
Re: DSLstats after the demise of MDWS
« Reply #76 on: March 11, 2018, 10:58:15 AM »

eric i will be sending you a PM this week about a MDWS replacement as you dev dslstats i obviously would need you onboard

probably to get a sample of a data dump so a compatible system can be developed, this is to minimise work your side.
« Last Edit: March 11, 2018, 11:00:24 AM by Chrysalis »
Logged

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 43432
  • Penguins CAN fly
    • DSLstats
Re: DSLstats after the demise of MDWS
« Reply #77 on: March 11, 2018, 11:32:32 AM »

Chrys: I'll soon be uploading an experimental version of DSLstats which saves all the data in the same format as the MDWS uploads, but retains them in a local store. It should be fairly straightforward to upload this data somewhere, although I would very much prefer to use FTP for the upload rather than the complicated curl command required by MDWS.
Logged
  Eric

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 7382
  • VM Gig1 - AAISP L2TP
Re: DSLstats after the demise of MDWS
« Reply #78 on: March 11, 2018, 01:01:46 PM »

FTP wont be a problem, I will wait for the new build so I can check the format, thanks.
Logged

j0hn

  • Kitizen
  • ****
  • Posts: 4088
Re: DSLstats after the demise of MDWS
« Reply #79 on: March 11, 2018, 03:04:37 PM »

FTP wont be a problem, I will wait for the new build so I can check the format, thanks.

It was posted above.

Code: [Select]
25/07/2016 20:13 79987 20000 7.0 12.5 5.9 5.9 83805 30404 PTM 850 18 0 390 731 0 218562 0 0 0 0 60.712 0 390 0 132124761 76362 0 850 18 0 0 3400835 0 0 0 0 1 1 122 62 12 0 0 0 0 0 0 0 0.7 18.5 28.1 0.0 11.0 24.5 38.5 0.6 18.3 28.1 0.0 10.7 24.4 38.5 14.2 13.1 12.3 0.0 7.0 7.0 7.0 -6.0 -25.6 5.6 0.0 12.0 7.4 7.4 Showtime 0 0 L0 17a ON ON No Showtime 0.0 0.0 239 236 1 1 23 5 0 16 0.0955 0.3771 20104 5410 30 0 30 0 3547761395 0 29704784 0 0 0 0 59 59 0.00 0.00 1.65 6.15 0.00 0.00 116.09 202.87 588 12 VDSL2 0 0 0 0 0.00 0.00 0.00 0.00 0 0 1 0 0 0 7 0 0 0 0 0 0 0 NO_G.INP 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.00 0.00 0.00 0.00 0.00 0.00 0 0 0.00 0.00 0.00 0.00 0.00 0.00
Logged
Talktalk FTTP 550/75 - Speedtest - BQM

burakkucat

  • Respected
  • Senior Kitizen
  • *
  • Posts: 38300
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: DSLstats after the demise of MDWS
« Reply #80 on: March 11, 2018, 05:06:41 PM »

Regarding the UploadStats.ods file contents --

When time permits would it be possible to annotate each field with its type and size, please?

For example: 16-char string, 8-bit unsigned integer, 64-bit signed integer, float, etc.

[Edited to fix a typo.]
« Last Edit: March 11, 2018, 06:42:36 PM by burakkucat »
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 33879
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: DSLstats after the demise of MDWS
« Reply #81 on: March 11, 2018, 06:31:07 PM »

iirc Eric said earlier that he would provide a reference for the various fields.

Unless I've misunderstood what you mean,  I'm not sure if it would be good idea appending it to the actual file, as that would substantially increase the file size.
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

burakkucat

  • Respected
  • Senior Kitizen
  • *
  • Posts: 38300
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: DSLstats after the demise of MDWS
« Reply #82 on: March 11, 2018, 06:41:34 PM »

iirc Eric said earlier that he would provide a reference for the various fields.

That is correct. The UploadStats.ods file.

Quote
Unless I've misunderstood what you mean,  . . .

I believe that you have misunderstood.
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 43432
  • Penguins CAN fly
    • DSLstats
Re: DSLstats after the demise of MDWS
« Reply #83 on: March 11, 2018, 07:21:30 PM »

Quote
When time permits would it be possible to annotate each field with its type and size, please?

All of the fields are strings with varying length. The whole stats file is one long string with spaces for delimiters. If you opt for a single stats file each day, the separate sets of stats are delimited by double spaces. The per-tone zipped files are also strings, with comma delimiters in this case (because all the values are whole numbers in string form).
« Last Edit: March 11, 2018, 07:24:30 PM by roseway »
Logged
  Eric

marjohn56

  • Reg Member
  • ***
  • Posts: 118
Re: DSLstats after the demise of MDWS
« Reply #84 on: March 11, 2018, 08:17:26 PM »

Chrys: I'll soon be uploading an experimental version of DSLstats which saves all the data in the same format as the MDWS uploads, but retains them in a local store. It should be fairly straightforward to upload this data somewhere, although I would very much prefer to use FTP for the upload rather than the complicated curl command required by MDWS.

Thinking aloud....

How about XML and HTTP/S. HTTP/S will give the secure data connection needed and there are some great XML libraries about that are really quick.
Logged
OPNsense 18.* - Billion Bridge - Qotom Q355G4 - ISP - ZEN U.K.

Team Rebellion Member

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 43432
  • Penguins CAN fly
    • DSLstats
Re: DSLstats after the demise of MDWS
« Reply #85 on: March 11, 2018, 10:38:09 PM »

Thanks for the suggestion, but there are limits to what I can do in the time I have available.
Logged
  Eric

ktz392837

  • Reg Member
  • ***
  • Posts: 559
Re: DSLstats after the demise of MDWS
« Reply #86 on: March 23, 2018, 04:39:02 PM »

I realise time is limited but an idea for the future could you consider when generating snapshot also generating a JavaScript file containing a list for all the existing  snrm.PNG files in the snapshot directory.  Then in the webserver page you could have previous and next buttons that would use JavaScript to replace the "static" images with pngs stated in this javascript file.   This would allow the webserver users to benefit from the snapshots.  Obviously wouldn't just be limited to snrm - es, ses, CRC, speed would work the same way etc
« Last Edit: March 23, 2018, 04:47:31 PM by ktz392837 »
Logged

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 43432
  • Penguins CAN fly
    • DSLstats
Re: DSLstats after the demise of MDWS
« Reply #87 on: March 23, 2018, 04:44:18 PM »

It's a nice idea, and I can put it on the list, but I know nothing about JavaScript unfortunately.
Logged
  Eric

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 33879
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: DSLstats after the demise of MDWS
« Reply #88 on: March 23, 2018, 07:11:18 PM »

I realise time is limited but an idea for the future could you consider when generating snapshot also generating a JavaScript file containing a list for all the existing  snrm.PNG files in the snapshot directory.  Then in the webserver page you could have previous and next buttons that would use JavaScript to replace the "static" images with pngs stated in this javascript file.   This would allow the webserver users to benefit from the snapshots.  Obviously wouldn't just be limited to snrm - es, ses, CRC, speed would work the same way etc

Would it work in javascript which is client side rather than a server side language?   
I was trying to think of an easy solution for listing all the files in the folder when I was playing with the history page.   You would need some way of generating a list of snrm.png files in the folder that would be up to date depending upon which files where there.     I was trying to avoid using a server-side language (such as php) to generate the list because not everyone may want to install php or WAMP/LAMP.   You can perhaps see with the history page on the advanced web interface, that I started dabbling with AJAX but I can't see how that would work if viewing via the Internet either   

Unless I'm missing something I don't see how getting DSLstats to produce a javascript file would work. :hmm:

I think it would need a small program running on the PC to generate a list of all current 'x'.png files in the folder. 
You could then perhaps then use something like JQuery to output the contents of list to a html page.
Ideally this program would output the list in something like JSON or XML format.    If you had a JSON file, then you'd be able to use javascript to parse the data to html.   
You'd still need to write the javacript/Jquery functions to be able to output the data though and these would need to be included in the source code of the html page. 

If there was something that listed the relevant .png files to a text or JSON file, then I'd be able to use JQuery to write the functions needed to output to a html page, but even so that would require dev time.
 
Without using a server side language (or a separate program to generate the list) I couldn't see a way this would work in the current format on the existing inbuilt webserver just using something which ran on the client side.
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

ktz392837

  • Reg Member
  • ***
  • Posts: 559
Re: DSLstats after the demise of MDWS
« Reply #89 on: March 23, 2018, 09:06:38 PM »

Kitz yes I was thinking it would rely on dslstats generating / distributing the JavaScript files with the relevant snapshot information when a snapshot is generated.  Then just tweaks to existing HTML to add in the relevant JavaScript. It would require dev time but it could be quite a bit of functionality for a minimal amount of dev time.

The idea has peaked my interest so I may see if I can cobble something together  but I suspect someone who knows JavaScript/HTML can get a template  running in a few hours I will still be working out how to specify a variable but I like a challenge.

Whatever the result it will either need dslstats changes or something else generating the files.  My hope would be if the JavaScript and HTML could be written that would help roseway significantly.

Anyway I don't even know if you can use JavaScript to change the location of an image so it may all be a pipe dream anyway!
Logged
Pages: 1 ... 4 5 [6]