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 ... 43 44 [45] 46 47 ... 129

Author Topic: MyDSLWebStats - Remote Web-based Monitoring  (Read 465361 times)

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 6452
Re: MyDSLWebStats - Remote Web-based Monitoring
« Reply #660 on: August 11, 2015, 10:37:10 AM »

forget what I said, seems you maybe right on VNC I didnt know that created a virtual X environment.

I still think it wont work but I may give it a go on a spare asuswrt router I got.
« Last Edit: August 11, 2015, 10:40:07 AM by Chrysalis »
Logged
AAISP - Billion 8800NL bridge & PFSense BOX running PFSense 2.4 - ECI Cab - LINE STATISTICS CLICK HERE

Dray

  • Kitizen
  • ****
  • Posts: 2362
Re: MyDSLWebStats - Remote Web-based Monitoring
« Reply #661 on: August 11, 2015, 10:53:39 AM »

I think you're probably right about it not working on a router, but it's maybe the simplest solution for RPi and headless servers rather than rewriting DSLStats to an MVC pattern.
Logged

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 40366
  • Penguins CAN fly
    • DSLstats
Re: MyDSLWebStats - Remote Web-based Monitoring
« Reply #662 on: August 11, 2015, 11:05:23 AM »

@chrysalis: I didn't misunderstand at all. My wording may not have been precise, but the answer I gave is still the only realistic answer at present.

@Dray: once DSLstats is set up on the RPi with a VNC server (or equivalent) it can be run without a monitor, keyboard or mouse connected, and all access to it being via VNC. The RPi would of course still be running in GUI mode. It uses one of the lightweight Linux desktop systems.
Logged
  Eric

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 6452
Re: MyDSLWebStats - Remote Web-based Monitoring
« Reply #663 on: August 11, 2015, 11:10:39 AM »

If eric says he wont do it.  Then an idea I got is masking the script to collect the stats.
I will then have it write to a logfile in the same format as bald eagle's scripts.
I will then see if ronski (or eric) can make their app's able to import these logs for uploading to MDWS.  So uploads can still happen but wouldnt be live updates.

Or another idea is to mount a windows filesystem using CIFS on the router, the script will check for its existance, and if it exists it copies the log there.  Then could have bald eagle's tool treat that as a locally generated log and upload it.
Logged
AAISP - Billion 8800NL bridge & PFSense BOX running PFSense 2.4 - ECI Cab - LINE STATISTICS CLICK HERE

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 6452
Re: MyDSLWebStats - Remote Web-based Monitoring
« Reply #664 on: August 11, 2015, 11:12:18 AM »

Ok thanks for your reply eric.

So is as I expected it works on the RI because it has a local GUI installed on it.

The question is do you think its possible for you to have the time make a cutdown version of your linux tool, where none of the GUI features exist, it just runs in a cli mode to collect stats and upload them?
Logged
AAISP - Billion 8800NL bridge & PFSense BOX running PFSense 2.4 - ECI Cab - LINE STATISTICS CLICK HERE

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 40366
  • Penguins CAN fly
    • DSLstats
Re: MyDSLWebStats - Remote Web-based Monitoring
« Reply #665 on: August 11, 2015, 11:27:12 AM »

Quote
The question is do you think its possible for you to have the time make a cutdown version of your linux tool, where none of the GUI features exist, it just runs in a cli mode to collect stats and upload them?

It's a possibility, but please don't press me for a timescale. I had a little health scare earlier this year, and as a result I've had to reduce the amount of time I spend in front of the PC. I will take a look at it and see what's involved.
Logged
  Eric

NewtronStar

  • Kitizen
  • ****
  • Posts: 4850
Re: MyDSLWebStats - Remote Web-based Monitoring
« Reply #666 on: August 11, 2015, 04:53:36 PM »

I'll stick to the trusty RPi B+ with DsLstats running it's 100% stable with zero maintenance that embedding software into router sounds like hard work and extra processing for the routers CPU.
Logged

Ronski

  • Moderator
  • Kitizen
  • *
  • Posts: 4104
Re: MyDSLWebStats - Remote Web-based Monitoring
« Reply #667 on: August 11, 2015, 06:47:38 PM »

I will then see if ronski (or eric) can make their app's able to import these logs for uploading to MDWS.  So uploads can still happen but wouldn't be live updates.

You can't bulk upload stats, if the server receives more than one set (one minutes worth) a minute then it rejects the subsequent sets, send too many and you get a warning, keep on doing so and you get a ban. Just for the record I have no idea how to upload the stats.

Personally I can't see the problem with running a Raspberry PI, they are very cheap to buy and run, really what's the problem with one more tiny box?
Logged
Formerly restrained by ECI and ali,  now surfing along at 390/36  ;D

GigabitEthernet

  • Kitizen
  • ****
  • Posts: 2116
Re: MyDSLWebStats - Remote Web-based Monitoring
« Reply #668 on: August 11, 2015, 07:47:29 PM »

How much space would DSLstats require on a RPI?
Logged

loonylion

  • Reg Member
  • ***
  • Posts: 723
Re: MyDSLWebStats - Remote Web-based Monitoring
« Reply #669 on: August 11, 2015, 07:57:54 PM »

How much space would DSLstats require on a RPI?

the program itself not a lot, but depending on how long you keep the stats they can build up over time.
Logged

GigabitEthernet

  • Kitizen
  • ****
  • Posts: 2116
Re: MyDSLWebStats - Remote Web-based Monitoring
« Reply #670 on: August 11, 2015, 08:09:32 PM »

See this is why I keep using my laptop as it has essentially unlimited hard drive space...
Logged

NewtronStar

  • Kitizen
  • ****
  • Posts: 4850
Re: MyDSLWebStats - Remote Web-based Monitoring
« Reply #671 on: August 11, 2015, 09:16:01 PM »

See this is why I keep using my laptop as it has essentially unlimited hard drive space...

You just purchase a larger SD card for the RPi just like you purchase a larger capacity HD but i think 32GB is the max you can use on the RPi not sure about that.

But you can connect a usb hard drive to it.

This is the 32GB SD card memory

Code: [Select]
pi@raspberrypi ~ $ df -h
Filesystem      Size  Used Avail Use% Mounted on
rootfs           29G  2.9G   25G  11% /
/dev/root        29G  2.9G   25G  11% /
devtmpfs        214M     0  214M   0% /dev
« Last Edit: August 11, 2015, 09:37:37 PM by NewtronStar »
Logged

Dray

  • Kitizen
  • ****
  • Posts: 2362
Re: MyDSLWebStats - Remote Web-based Monitoring
« Reply #672 on: August 11, 2015, 09:51:02 PM »

You just purchase a larger SD card for the RPi just like you purchase a larger capacity HD but i think 32GB is the max you can use on the RPi not sure about that.
Plenty of 128GB cards work http://elinux.org/RPi_SD_cards
Logged

NewtronStar

  • Kitizen
  • ****
  • Posts: 4850
Re: MyDSLWebStats - Remote Web-based Monitoring
« Reply #673 on: August 11, 2015, 10:01:43 PM »

Plenty of 128GB cards work http://elinux.org/RPi_SD_cards

Thats even better Dray i just use the 32GB SD card for DSLstats and have plenty of room left after 1 year of stats.
Logged

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 6452
Re: MyDSLWebStats - Remote Web-based Monitoring
« Reply #674 on: August 11, 2015, 11:17:17 PM »

and how much do 32 gig cards cost?

its alright just saying its one more little device, but if I brought "one more" device for every computing task, the house would be filled with them :p

But anyway thanks eric, there be no rushing you, if its done its done, if its not done so be it.
Logged
AAISP - Billion 8800NL bridge & PFSense BOX running PFSense 2.4 - ECI Cab - LINE STATISTICS CLICK HERE
Pages: 1 ... 43 44 [45] 46 47 ... 129