RPi help for newbie

Free Internet troubleshooting agent for ARM based devices. Raspberry 3A, 3B+ and others. Outages.io finds connectivity issues, gives you hard facts.

Moderator: peachy

arniepodo
Posts: 5
Joined: Tue Dec 08, 2020 10:12 am

RPi help for newbie

Post by arniepodo »

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.

User avatar
Outages.io_Support
Posts: 200
Joined: Wed Feb 12, 2020 11:09 am

Re: RPi help for newbie

Post by Outages.io_Support »

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.
I'm with the Outages.io support team. Please post your question and I'll try to answer

Are the issues in your local network, with your Internet provider or beyond?
Save countless hours by letting Outages.io help you find Internet connection problems.

arniepodo
Posts: 5
Joined: Tue Dec 08, 2020 10:12 am

Re: RPi help for newbie

Post by arniepodo »

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.

User avatar
Outages.io_Support
Posts: 200
Joined: Wed Feb 12, 2020 11:09 am

Re: RPi help for newbie

Post by Outages.io_Support »

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.
I'm with the Outages.io support team. Please post your question and I'll try to answer

Are the issues in your local network, with your Internet provider or beyond?
Save countless hours by letting Outages.io help you find Internet connection problems.

arniepodo
Posts: 5
Joined: Tue Dec 08, 2020 10:12 am

Re: RPi help for newbie

Post by arniepodo »

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.

User avatar
Outages.io_Support
Posts: 200
Joined: Wed Feb 12, 2020 11:09 am

Re: RPi help for newbie

Post by Outages.io_Support »

# ./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.
I'm with the Outages.io support team. Please post your question and I'll try to answer

Are the issues in your local network, with your Internet provider or beyond?
Save countless hours by letting Outages.io help you find Internet connection problems.

User avatar
Outages.io_Support
Posts: 200
Joined: Wed Feb 12, 2020 11:09 am

Re: RPi help for newbie

Post by Outages.io_Support »

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.
I'm with the Outages.io support team. Please post your question and I'll try to answer

Are the issues in your local network, with your Internet provider or beyond?
Save countless hours by letting Outages.io help you find Internet connection problems.

arniepodo
Posts: 5
Joined: Tue Dec 08, 2020 10:12 am

Re: RPi help for newbie

Post by arniepodo »

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 outages.io, it does not show the agent at all. It says not found.
Any advice?
Thank you and thanks for your volunteering in this forum.

User avatar
Outages.io_Support
Posts: 200
Joined: Wed Feb 12, 2020 11:09 am

Re: RPi help for newbie

Post by Outages.io_Support »

>"[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 outages.io, 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 :).
I'm with the Outages.io support team. Please post your question and I'll try to answer

Are the issues in your local network, with your Internet provider or beyond?
Save countless hours by letting Outages.io help you find Internet connection problems.

User avatar
Outages.io_Support
Posts: 200
Joined: Wed Feb 12, 2020 11:09 am

Re: RPi help for newbie

Post by Outages.io_Support »

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.
I'm with the Outages.io support team. Please post your question and I'll try to answer

Are the issues in your local network, with your Internet provider or beyond?
Save countless hours by letting Outages.io help you find Internet connection problems.

Post Reply