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.
RPi help for newbie
-
wrote on Dec 8, 2020, 6:28 PM last edited by
I would like to use this service, but am not sure how to install in on my RPi 4. I have created the agentid file in /etc. I have copied the arm file to the Rpi. However, when I click on it from the file manager, nothing seems to happen. Can someone run me though the steps I need to do to get this running on my RPi 4?
Much appreciate any help!
Thanks.
-
wrote on Dec 8, 2020, 6:55 PM last edited by
Hi,
I'm not sure what you mean by clicking on a file manager.
Sounds like you have your /etc/agentid file set as needed.
Did you make the program executable, 'chmod 755' to start with?
If you start a terminal session, you should be able to change the permissions to make the program executable.
After that, you could just type './agent &' or what ever you have the program called and it would start.
You'll know it's running when you see the Heartbeat go green in your dashboard for that agent.
-
wrote on Dec 8, 2020, 7:06 PM last edited by
Thank you for the fast reply. I had already done the chmod thing. However, when I enter this in the terminal window:
./agent outagemon_arm
I get an error that says "bash: ./agent: no such file or directory
FWIW, the outagemon_arm file is located in /home/pi directory
What am I doing wrong?
Thanks.
-
wrote on Dec 8, 2020, 7:13 PM last edited by
Hi,
If you called the file outagemon_arm, then you need to
chmod 755 outagemon_arm
then
./outagemon_arm &
That should run the program.
If not, can you run, pwd, show the results, then show a listing (ls -la) of the files.
Cut/paste those results including when you run the program into this post.
-
wrote on Dec 9, 2020, 12:17 PM last edited by
I will try this, but I am not sure what the symbol is at the end of this line that you gave:
"# ./outagemon_arm &"
Thanks again.
-
wrote on Dec 9, 2020, 2:56 PM last edited by
./outagemon_arm &
It's the symbol over the 7 (ampersand) on your keyboard. It's the standard way of running a Linux program so that it spawns its own process so you can keep working.
Since the program doesn't output anything, it would just run in memory until you kill it or reboot the system.
-
wrote on Dec 9, 2020, 4:42 PM last edited by
BTW, we don't have anyone moderating this forum yet.
Maybe you can post in which ever Pi forums you are in asking about how to run the agent but more importantly, you'll want to have a script to automatically start it when your device powers up and no one here has shared anything we can make available.
I hope at some point, someone will want to become moderator of this forum so that ARM/Pi members can be better helped.
-
wrote on Dec 9, 2020, 5:55 PM last edited by
Thanks again. I did enter the command as you stated, and it returned this:
"[1] 2458"
Does this mean it is running?
When I go to the control panel at app.outagesio.com, it does not show the agent at all. It says not found.
Any advice?
Thank you and thanks for your volunteering in this forum.
-
wrote on Dec 9, 2020, 6:00 PM last edited by
"[1] 2458"
Does this mean it is running?
Yes, it means a process was created and is running. Without the ampersand, that process will die the moment you log out of your ssh session.
When I go to the control panel at app.outagesio.com, it does not show the agent at all. It says not found.
Any advice?
Did you perhaps delete the agent at some point from your control panel?
If not, can you give me the agent ID and I'll see if it's there.
Thank you and thanks for your volunteering in this forum.
Sure, no problem :).
-
wrote on Dec 9, 2020, 6:04 PM last edited by
If you removed the agent from your control pane, then the corresponding agent software on your device has nothing to communicate with.
If you create a new agent, be sure to update your /etc/agentid file using the new credentials so that agent can communicate with its corresponding reports.
-
wrote on Dec 9, 2020, 7:44 PM last edited by
Seems to be working now.
Thank you again for all of your help!
-
wrote on Dec 10, 2020, 1:03 AM last edited by
Great, thank you for letting us know.
-
-