Is there any tool to monitor and log internet quality?
Last month I recognized problem with internet (speed and not availability). Some time it is enough to restart operator device (OH-735) via internal web page (http://192.168.9.1/). But I already get in situation where I need to plug-out device from power because even internal page was not accessible (this week there was evening when I need to do it 3x).
The first question is what connection do you have (cable ?)
The second question is whether you use DNS forward?
Third question - metallic or wifi connection? wifi?)
===
Scheduled Netmeter or measurement in RIPE Aatlas … reForis - Package Management - RIPE Atlas SW Probe … Create the necessary probe here - I can transfer the necessary credits to you (5,376,873)
NetMetr as a service which was worked on with the CZ gov is ending, the product for Turris devices continues: NetMetr končà :-( (sorry for czech, but basically → nothing changes for us).
It is internet for home O2 - Greenpacket model: OH-736 (LTE wireless).
My primary problem is not internet speed (I started to monitor it with python script running at cron every 4 hour).
What I am looking for is something like “ping each minute” to some server (google.com ?) but I am afraid I could be blocked after some time, so I am looking for some standard solution. I will try to have a look at RIPE Atlas
I guess there is one thing that actually should change: in the current code the ICMP latency measurement does not work reliably on full dualstack access links:
root@turris:~# netmetr
Checking uuid on the control server...
Requesting test config from the control server...
Starting ping test...
ping: unknown host ipv6.speed.netmetr.cz
ping: unknown host ipv6.speed.netmetr.cz
ping: unknown host ipv6.speed.netmetr.cz
ping: unknown host ipv6.speed.netmetr.cz
ping: unknown host ipv6.speed.netmetr.cz
ping: unknown host ipv6.speed.netmetr.cz
ping: unknown host ipv6.speed.netmetr.cz
ping: unknown host ipv6.speed.netmetr.cz
ping: unknown host ipv6.speed.netmetr.cz
ping: unknown host ipv6.speed.netmetr.cz
Starting speed test...
==== rmbt 027abd174 ====
connecting...
connected with 3 flow(s) for dl; 3 flow(s) for ul
pretest downlink start... (min 1s)
pretest downlink end.
rtt_tcp_payload start... (11 times)
rtt_tcp_payload end.
downlink test start... (5s)
downlink test end.
pretest uplink start... (min 1s)
pretest uplink end.
uplink test start... (5s)
uplink test end.
disconnecting.
dl_throughput_mbps = 94.044562
ul_throughput_mbps = 33.159306
Exiting.
uci: Parse error (invalid command) at line 5, byte 0
Your Sync code is: a67836dcbdb9
root@turris:~# ping -c 3 ipv6.speed.netmetr.cz
ping: unknown host ipv6.speed.netmetr.cz
root@turris:~# ping6 -c 3 ipv6.speed.netmetr.cz
PING ipv6.speed.netmetr.cz(speed.netmetr.cz) 56 data bytes
64 bytes from speed.netmetr.cz: icmp_seq=1 ttl=59 time=23.6 ms
64 bytes from speed.netmetr.cz: icmp_seq=2 ttl=59 time=23.4 ms
64 bytes from speed.netmetr.cz: icmp_seq=3 ttl=59 time=23.3 ms
--- ipv6.speed.netmetr.cz ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 23.325/23.478/23.666/0.226 ms
root@turris:~#
The issue exists for some years now, so maybe, if netmetr is going to stay with us, it is time now to fix that?
I sent an email to tech-support with the following ID [turris-rd #1114438]. And got the response that this would be solved by the next netmetr version, but that was end of 2020…
There was
indicating that the proper solution would be to upgrade netmetr, but by now, I am also fine with a gross hack to make it limp along until netmetr 2 will be deployed, if ever…
II I am not wrong, Netmetr will stay with us only till we find the replacement with a different measurement technology that will be more suitable for you guys.
This version is already present in the development branches such as HBL and HBD.
But everyone, getting back to topic:
If you want to check “quality” → netmeter (lets ignore the whole going to be removed / upgraded whatever). This right now can do a check how your network is running which includes ping / download / upload speed.
If you want to check “availability”, e.g. is my internet working? → do the ping in the statistics against a public endpoint.
Problem with both of these solutions is that you probably won’t get a notification when this happens out of the box, you would have to think about how to do it.
in this file /etc/cron.d/leds_control I call connCheck.sh which checks the gateway, DNS server and selected IP address on the internet. The connection problem is signaled by a change in the color of the LED
I guess the question is, do you intend to supply the servers yourself (then iperf2, iperf3 or netperf, seem to be the hottest contenders) or not. If not then Ookla’s speedtest.net infrastructure seems like a decent option giving its wide spread and high number of nodes (but there certainly is the risk of hitting an underperforming server).