Jitter fix for latest speedtest

Speedtest added low/high and download/upload jitter.
master
"Riku" 2022-09-05 09:20:04 +03:00
parent 8a31fa4577
commit 2cd3c0f6fa
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ case $1 in
OUTPUT=`cat /var/log/munin/speedtest-results.txt` OUTPUT=`cat /var/log/munin/speedtest-results.txt`
PING=`echo "$OUTPUT" | grep Latency | awk '{ print $2 }'` 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 "ping.value $PING"
echo "jitter.value $JITTER" echo "jitter.value $JITTER"