Track Internet disconnections, provider outages with historical data, and automated speed testing.
For Windows, Linux, ARM64, ARMa7. Learn more by visiting www.outagesio.com
Notice: If you created an account on app.outagesio.com, simply use the same credentials to log in here.
starter.sh keeps saying Receiving binary location continuously
-
Latest Linux Mint 21.2
Created /etc/agentid and used the 2 keys I was given for AgentID
Created /otm, moved starter.sh there and made it executable
sudo /otm/starter.sh
This is the output...
Make sure to create /etc/agentid with credentials before starting this script
Make sure this script points to the same directory that you have it in - Edit the 'STARTING_FOLDER' variable in this script accordingly
You could add this to /etc/rc.local to start it or build a service for it. Please search Google for more.Receiving binary location
Getting the OTM Package
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
Receiving binary location
Getting the OTM Package
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
Receiving binary location
Getting the OTM Package
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
Receiving binary location
Getting the OTM Package
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0If left running, it just keeps going and going and going and nothing completes.
What am I doing wrong?
Thanks!
-
Hi,
Thank you for reporting this. A dev is testing this right now and will update this as soon as something is found.
-
Yes, version is 1.0.6
Using as default. No changes made to the script. The agentid file user and group is both set to root.
-
We think we've found the problem. A little more time and it should be working again.
-
Hi, the download should work now. We found that using dots in the file name was a problem so have updated all of the file names.
Try it, let us know, please.
-
filename still downloads as starter.sh; thought you said updated to no dots in the filename?
Anyway, tried it...
Receiving binary location
Getting the OTM Package
curl: (3) URL using bad/illegal format or missing URL
Receiving binary location
Getting the OTM Package
curl: (3) URL using bad/illegal format or missing URL
Receiving binary location
Getting the OTM Package
curl: (3) URL using bad/illegal format or missing URL
Receiving binary location
Getting the OTM Package
curl: (3) URL using bad/illegal format or missing URL -
Ubuntu..........Please read previous comments for additional detail. Thanks!
-
I am simulating your agent and all is working fine
You should also see that your agent became activePlease confirm you can see your agent active from the dashboard
As soon as you confirm i will stop it and will try to troubleshoot with you to see what is happening at your site
-
I am going to stop it anyway since there is no issue in the code
I strongly suggest that you download again the script andto do that you need to follow the link "Click to complete" that I reinstated for you and download again the script to overwrite what you are using nowAlso double check credentials
I also saw you deleted the previous agent (that is why I was asking which ID you were referring to)
-
Agent says disconnected so that means I need to download again? New credentials again then too right? I am ensuring that the owner and group for the agentid file and starter.sh script are root root rather than stockmal stockmal. OK, I guess I'll try it again.
By the way, I did not delete the previous agents, it appears someone did from your side. I guess you can delete the most recent one I tried. I'll go through the motions again and let you know. Thanks!
-
Let me clarify since it seems there is a tiny misunderstanding ...
-
No one will delete an agent created by a customer, the only possibility is that since the agent was created and never became active in the following 24 hours, since we were testing and troubleshooting, it was removed automatically
-
I decided to simulate your installation with the credentials and found they were working fine, then i reinstated the conditions of before my intervention
-
I am suggesting that you download again the script since I have the doubt that it was modified (it is a bet since I cannot say from here)
-
Every agent changes its status depending if it is communicating with our servers (ACTIVE), lost its connectivity for less than 30 min (INACTIVE) or more than 30 min (DISCONNECTED)
-
-
OK, it's working now. If I don't go thru the steps to set it to a service, if I have to reboot this linux box, do I just run the starter.sh script again?
-
To also help clarify, this is important to understand.
When you create a new software agent, that agent generates its own credentials.
These are the credentials you put into the /etc/agentid file.If that agent gets removed, those credentials are no longer any good.
Meaning, you would have to create a new one and use those credentials.If you have agents at different locations, you can use the Nickname to keep track of which are which and take note that each of those agents would also have their own credentials.
Therefore, if you use the same credentials, you will mess up your reports.
The reason for the credentials is to make sure that agents and reports match up.
Hope this helps a bit more.
-
I am just using this for my home so unless I create a windows agent or buy a hardware agent at some point, I don't have a reason to use another agent.
-
You can also automate it as a service.
https://www.outagesio.com/monitor-your-internet-with-linux-desktop-or-server/
If this article doesn't cover your version, just look online for how to enable a script or something else as a service for your particular platform.
Hope all is good now.
-
I am just using this for my home so unless I create a windows agent or buy a hardware agent at
some point, I don't have a reason to use another agent.No problem. I'm just pointing out how things work in case you decide to monitor other locations.
-
-
agent 130561 will auto delete right?