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

Login with username, password and session length
Advanced search  

News:

Author Topic: Alternative way to get DSLStats running 24/7?  (Read 487 times)

jelv

  • Helpful
  • Reg Member
  • *
  • Posts: 641
Alternative way to get DSLStats running 24/7?
« on: December 08, 2017, 01:40:09 PM »

My PC is running only when I'm using it so even if I had DSLstats to fire up on start-up there would be big gaps.

I could go for a Raspberry Pi but it is quite a bit to pay for a box that would only be used for that one purpose.

I do have a box that is on 24/7 - that is a QNAP NAS box running Linux. But that can only be accessed via a web interface, telnet or (obviously) file shares. The lack of a console interface rules out running DSLstats.

Prompted by V_R's topic I've just been doing some thinking (dangerous I know) which has led to a pretty off-the-wall idea.

There are three main functions to DSLstats: (a) configuration, (b) collection of data from the modem (and upload to mydslwebstats if that is enabled) and (c) the interface that shows the graphs and stats. What I've been wondering is how much would it take to make it so that if it was to be installed on a shared drive on the NAS box functions (a) and (c) could be run from a Windows PC while (b) the collection of the stats and uploading to mydslwebstats was done under Linux on the NAS box? Using Putty I can access the command line to add tasks to crontab.
Logged
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Rick Cook, The Wizardry Compiled

Dray

  • Kitizen
  • ****
  • Posts: 2351
Re: Alternative way to get DSLStats running 24/7?
« Reply #1 on: December 08, 2017, 01:54:34 PM »

That would involve hacking the integrated dslstats app into separate standalone bits which would probably be a no-go.

I'm sure you could run DSLstats on the NAS drive if it's running Linux.
Logged

V_R

  • Member
  • **
  • Posts: 40
Re: Alternative way to get DSLStats running 24/7?
« Reply #2 on: December 08, 2017, 02:05:35 PM »

There was a thread regarding running it in docker from a bit back...

http://forum.kitz.co.uk/index.php/topic,19340.0.html
Logged

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 38842
  • Penguins CAN fly
    • DSLstats
Re: Alternative way to get DSLStats running 24/7?
« Reply #3 on: December 08, 2017, 03:53:05 PM »

While I would like to tackle jelv's suggestion, I'm afraid that increasing age and decreasing availability of time make it impractical. Docker seems to be a very effective solution for devices which support it.
Logged
  Eric

jelv

  • Helpful
  • Reg Member
  • *
  • Posts: 641
Re: Alternative way to get DSLStats running 24/7?
« Reply #4 on: December 08, 2017, 04:50:54 PM »

I'm guessing this falls in to the "if I had thought of this when I started the project..." category.

The approach would have had other benefits as with one PC collecting the stats, if you shared the folder you could use the interface to view the stats from other PCs.
Logged
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Rick Cook, The Wizardry Compiled

Dray

  • Kitizen
  • ****
  • Posts: 2351
Re: Alternative way to get DSLStats running 24/7?
« Reply #5 on: December 08, 2017, 04:53:52 PM »

The approach would have had other benefits as with one PC collecting the stats, if you shared the folder you could use the interface to view the stats from other PCs.
I do that now using the built-in webserver
Logged

jelv

  • Helpful
  • Reg Member
  • *
  • Posts: 641
Re: Alternative way to get DSLStats running 24/7?
« Reply #6 on: December 08, 2017, 06:01:01 PM »

The webserver gives you many of the graphs scaled to the same size as the DSLstats window. On my main PC I have it maximised to see maximum detail. Viewing the web pages on my laptop they are way to big.

On the bitloading graph, right clicking on a tone to see the details doesn't work on the web page.

The webserver doesn't seem to be giving the QLN graph.

I can't see the event log via the web server.

Does the web page give you the traffic monitoring if it is enabled?

The webserver doesn't seem to have anything from the G.INP page.
Logged
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Rick Cook, The Wizardry Compiled

Dray

  • Kitizen
  • ****
  • Posts: 2351
Re: Alternative way to get DSLStats running 24/7?
« Reply #7 on: December 08, 2017, 06:55:54 PM »

To get that level of detail, my vm running dslstats is accessible from any other PC. Or look on MDWS.
Logged