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
-
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.
-
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.
-
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.
-
./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.
-
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.
-
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.
-
"[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 :).
-
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.
-
Great, thank you for letting us know.
-
-