Kitz Forum
Broadband Related => Router Monitoring Software => Topic started by: Bestgear on November 11, 2017, 09:17:49 PM
-
Guys
Been using dslstats/mydslstats for some time and want to add a second fttc line (installing for resilience) to the monitoring.
Is there a way to get dslstats support two routers/modems and upload both to mydslstats?
I assume mydslstats needs two accounts (different email addresses required to register?).
Or....is it a case of two instances of dslstats on different PC's/VM/Rpi?
Thanks in advance
David
-
You would need two instances of DSLstats on different machines. You can't run two instances on the same machine because they would end up sharing the same configuration files, so you couldn't point them at different modems. You would still need two separate accounts on MDWS, which probably means different email addresses, but Tony can confirm that (or not).
-
Correct and two different terminals or whatever you run DSLstats on.
-
Two headless R-Pi would be sufficient, I believe.
-
Thanks for the replies Guys
Shame it can support two devices from one instance...and I guess thats too rare an occurrence for a feature request?
I can just run a second instance in VM, less than ideal (thats all the VM will be doing!), but will have to do.
Cracking app/website though... would hate to be without it!
David
-
I believe HG612 Stats (http://www.kitz.co.uk/routers/hg612stats.htm) can be used on the same machine as DSLstats - depending on the modems in question, you might find that combination works - and both can upload to mydslstats
-
^^^ That's a good point. If DSLstats is pointing at one modem and HG612_Stats is pointing at the other, then there would be no conflict and they would be working independently. You would still need two accounts at MDWS of course.
-
Two instances of the DSLstats docker container will work on the same machine. No ARM version yet so that doesn't work on a raspberry pi.
-
I believe HG612 Stats (http://www.kitz.co.uk/routers/hg612stats.htm) can be used on the same machine as DSLstats - depending on the modems in question, you might find that combination works - and both can upload to mydslstats
Might need to check with Tony if that will work.
Correct and two different terminals or whatever you run DSLstats on.
Would MyDSLWebStats allow 2 different accounts to upload from the same machine?
-
Thanks - using HG612_Stats seems the best way forward for the second circuit....unless HG612_Stats supports two modems/routers!
Docker - I assume that is do-able on windows?
David
-
HG612 stats only supports one modem, but you can run multiple copies, but there is a few requirements that come to mind.
They need to be installed to separate folders.
Will each require their own scheduled task
Will need to be timed to run at different times, ie on the minute and 30 seconds past the minute, eirher by the task or delay facility
-
I ran 2 copies of dslstats on 1 machine by renaming one exe to dslstats1. By selecting the option to make one copy hg612-aware, they each run with 30 seconds gaps. By having 2 different usernames on mydslwebstats I can see each set of stats separately
-
I ran 2 copies of dslstats on 1 machine by renaming one exe to dslstats1. By selecting the option to make one copy hg612-aware, they each run with 30 seconds gaps. By having 2 different usernames on mydslwebstats I can see each set of stats separately
That sounds worth a punt!
What does "hg612-aware" mean? (do you mean you used one hg and something else for the second line?)
I just tried running two instances and I am very happy - glad to see that a second profile directory was created too... as that would have been a problem.
-
It’s an option in the dslstats config
-
What does "hg612-aware" mean?
Some people used to run both programs, and they'd both try and access the modem at the same times. DSLStats can check if HG612 stats is running and make allowances.
-
I don’t think it checks anything it just changes the sample time from on the minute to 30 seconds later
-
Yes, DSLstats does do some checking. It checks if the HG612_Stats executable is running, and if so it misses one sample so they don't log in at the same time. Similarly, DSLstats launches a temporary do-nothing executable while it's sampling, and HG612_Stats detects this and takes action to avoid a conflict.
-
Ah ok, sorry. I don’t run hg612-stats so I never noticed.
-
Some people used to run both programs, and they'd both try and access the modem at the same times. DSLStats can check if HG612 stats is running and make allowances.
Ah, thanks - I will have a play with a renamed dslstats and see what it does...
Very much appreciate your input chaps!
David
-
I suppose your two modems need to have different IP addresses or it's not going to work....
I did run two copies of DSLstats on the same terminal with two modems for ages using different install dirs and a renamed exe in one case...