From 2cd3c0f6fa6494e074f11285cd307c53bda2fcb6 Mon Sep 17 00:00:00 2001 From: vg Date: Mon, 5 Sep 2022 09:20:04 +0300 Subject: [PATCH] Jitter fix for latest speedtest Speedtest added low/high and download/upload jitter. --- speedtest_ping | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/speedtest_ping b/speedtest_ping index 299d79c..4c5009e 100755 --- a/speedtest_ping +++ b/speedtest_ping @@ -19,7 +19,7 @@ case $1 in OUTPUT=`cat /var/log/munin/speedtest-results.txt` PING=`echo "$OUTPUT" | grep Latency | awk '{ print $2 }'` -JITTER=`echo "$OUTPUT" | grep Latency | awk '{ print $4 }' | cut -c2-` +JITTER=`echo "$OUTPUT" |grep "Idle Latency" | awk '{ print $6 }' | sed 's/.$//'` echo "ping.value $PING" echo "jitter.value $JITTER"