开云体育

Internet Uptime Monitor for Pi?


 

Is there a simple app to run that will display my internet connectivity status on screen? Something that pings a few sites periodically to return status would be nice, like https://netuptimemonitor.com but for a Pi rather than Windows.

Bret/N4SRN


 

开云体育

I use ping and speedtest in node-red and display results on the node-red dashboard.

Ray? W9EUM

--

On 8/2/22 07:23, Charles Jessee wrote:

Is there a simple app to run that will display my internet connectivity status on screen? Something that pings a few sites periodically to return status would be nice, like but for a Pi rather than Windows.

Bret/N4SRN


 

开云体育

downdetector.com

73 de K3FZT/Steve
--
Steve Davidson K3FZT
K3FZT@...?
“. . . the rocket science in health and health care is how we deliver it.”--Jim Yong Kim, MD, PhD, President, World Bank

On Aug 2, 2022, at 08:23, Charles Jessee <cbjesseeNH@...> wrote:

?Is there a simple app to run that will display my internet connectivity status on screen? Something that pings a few sites periodically to return status would be nice, like https://netuptimemonitor.com but for a Pi rather than Windows.

Bret/N4SRN


 

开云体育

Not sure if this went through the first time: Conky

On Aug 2, 2022, at 06:23, Charles Jessee <cbjesseeNH@...> wrote:

Is there a simple app to run that will display my internet connectivity status on screen? Something that pings a few sites periodically to return status would be nice, like but for a Pi rather than Windows.

Bret/N4SRN


 

Hi Bret, this is pretty complicated if you don't do the step instructions,? by step but I’m running a OOKLA test every 15 minutes and those results are sent to a Grafana graph and then uploaded to my Google drive.

? It’s really worth it to see jitter, ping and up and down.


image.png

image.png


Ignore the areas of no data as the server was off for maintenance and also the flat spots....... the second image is of the last 6 months.

de Spence M0STO



Sent while portable! please excuse typos.

On 2 Aug 2022, at 13:23, Charles Jessee <cbjesseeNH@...> wrote:

Is there a simple app to run that will display my internet connectivity status on screen? Something that pings a few sites periodically to return status would be nice, like but for a Pi rather than Windows.

Bret/N4SRN

Virus-free.


 

Use conky for onscreen display and have it watch a text file that you make a bash script monitor for a ping return.?


Excuse typos and brevity, sent from a mobile device.

On Tuesday, August 2, 2022, 5:23 AM, Charles Jessee <cbjesseeNH@...> wrote:

Is there a simple app to run that will display my internet connectivity status on screen? Something that pings a few sites periodically to return status would be nice, like https://netuptimemonitor.com but for a Pi rather than Windows.

Bret/N4SRN


 

开云体育

If you have the "traceroute" package installed, just use the native tools in a terminal window:

while true; do traceroute google.com; echo; sleep 10; done


On 8/2/22 05:23, Charles Jessee wrote:

Is there a simple app to run that will display my internet connectivity status on screen? Something that pings a few sites periodically to return status would be nice, like but for a Pi rather than Windows.

Bret/N4SRN


 

On 2022-08-02 13:25, Tony via groups.io wrote:
If you have the "traceroute" package installed, just use the native tools in a terminal window:
while true; do traceroute google.com; echo; sleep 10; done
would not subing "ping" for traceroute work in that while statement - traceroute does generate a lot of traffic which is irrelivant to just see if the net is up...

the c flag sets the number of tries for each ping

$ ping -c1 google.com
PING google.com (172.217.13.174) 56(84) bytes of data.
64 bytes from yul03s04-in-f14.1e100.net (172.217.13.174): icmp_seq=1 ttl=116 time=19.1 ms

--- google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 19.157/19.157/19.157/0.000 ms



--
Charles MacDonald VA3CPY Stittsville Ontario
cmacd@... Just Beyond the Fringe
No Microsoft Products were used in sending this e-mail.


 

I am using the following setup for monitoring performance of internet connections.



-Keith

On Tue, Aug 2, 2022 at 6:34 PM Charles MacDonald VA3CPY <aa508@...> wrote:
On 2022-08-02 13:25, Tony via wrote:
> If you have the "traceroute" package installed, just use the native
> tools in a terminal window:
>
> while true; do traceroute ; echo; sleep 10; done

would not subing "ping" for traceroute work in that while statement -
traceroute does generate a lot of traffic which is irrelivant to just
see if the net is up...

the c flag sets the number of tries for each ping

$ ping -c1
PING (172.217.13.174) 56(84) bytes of data.
64 bytes from (172.217.13.174): icmp_seq=1
ttl=116 time=19.1 ms

--- ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 19.157/19.157/19.157/0.000 ms



--
Charles MacDonald? VA3CPY? ? ? ? ? ? ? ?Stittsville Ontario
cmacd@...? ? ? ? ? ? ? Just Beyond the Fringe
No Microsoft Products were used in sending this e-mail.






 

Here are the steps to get it going:

  1. Make sure you have Ansible installed:
    1. (If pip3 is not installed) sudo apt-get install -y python3-pip
    2. pip3 install ansible
  2. Download the internet-pi repository to your computer: git clone https://github.com/geerlingguy/internet-pi.git && cd internet-pi
  3. Install the Ansible Galaxy content that's required to make the playbook work: ansible-galaxy install -r requirements.yml
  4. Make copies of the example.inventory.ini and example.config.yml files (dropping the example. from the filenames) and modify them for your own needs
  5. Run the playbook: ansible-playbook main.yml

I get down to Step 3 and get ERROR! The requirements file '/home/n4srn/.local/bin/requirements.yml' does not exist.

Did I miss something?

Bret/N4SRN


 

Something about the posted error doesn't look correct.? You should have been in the ~/internet-pi directory when you got to step 3.? The requirements.yml file should be in that directory.

It's possible that the actual error message said that it couldn't find ansible-playbook?? Confirm that ~/.local/bin is in your $PATH.? That where the ansible scripts get installed by pip3.