mr-canoehead / network_performance_monitor

Network Performance Monitor - a portable tool for troubleshooting performance issues with home networks
GNU General Public License v3.0
84 stars 21 forks source link

Log file repeats two lines for every test/issue, Internet graphs are spiky #17

Closed preese closed 4 years ago

preese commented 4 years ago

Exploring this GREAT tool, thanks for the work you put into it!

I've an RPI 4 set to use Ookla speedtest and one RPI 4 set to use speedtest-cli.

The speedtest-cli logs look like this: 2020-06-19 10:35:02,332 test_network INFO:Testing Internet speed... 2020-06-19 10:35:32,835 test_network INFO:Successful speedtest. 2020-06-19 10:40:01,742 test_network INFO:Testing interface if-w 2020-06-19 10:40:13,083 test_network INFO:Successful iperf3 test. 2020-06-19 10:40:22,452 test_network INFO:Testing name resolution... 2020-06-19 10:40:22,508 test_network INFO:Internal DNS ok. 2020-06-19 10:40:22,560 test_network INFO:External DNS ok.

But the Ookla speedtest logs look like this: 2020-06-19 10:40:02,228 test_network INFO:Testing interface if-wlan 2020-06-19 10:40:02,229 test_network INFO:Testing interface if-wlan 2020-06-19 10:40:02,362 test_network INFO:iperf3 test failed. 2020-06-19 10:40:02,371 test_network INFO:iperf3 test failed. 2020-06-19 10:40:02,659 test_network INFO:Testing name resolution... 2020-06-19 10:40:02,669 test_network INFO:Testing name resolution... 2020-06-19 10:40:02,717 test_network INFO:Internal DNS ok. 2020-06-19 10:40:02,725 test_network INFO:Internal DNS ok. 2020-06-19 10:40:02,773 test_network INFO:External DNS ok. 2020-06-19 10:40:02,780 test_network INFO:External DNS ok.

The double log lines are just one symptom, the other is that the Internet testing for speedtest-cli are fairly smooth from point to point, but the Ookla graphs are very spiky, essentially every other test 'fails' with zero speed.

I installed the project step by step from the Wiki and updated the OS as suggested. Might there have been a new library introduced or???

mr-canoehead commented 4 years ago

Please post the output of the following two commands (run them on the RPi that is using the Ookla Speedtest CLI): sudo runuser -l pi -c "crontab -l" sudo runuser -l root -c "crontab -l"

Thanks, Chris

preese commented 4 years ago

Silly me, added them twice. I've removed the lines from 'root's crontab and expect to see better results. Thanks for your quick response and resolution. Very much appreciated and I have been looking for exactly this function on my home network for a LONG time.