2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

Merge pull request #559 from mikeodr/mtr_fix

Removing erroneous line from mtr output.
This commit is contained in:
Steve Schnepp 2015-03-11 18:29:54 +01:00
commit 275ec0ed66

View File

@ -50,7 +50,7 @@ fi
dotrace() {
LC_ALL=C mtr -nrs 1024 -c 5 $totrace | grep -v "^HOST:" | LC_ALL=C awk -v C=$1 ' {
LC_ALL=C mtr -nrs 1024 -c 5 $totrace | grep -vi -E "^HOST:|^Start:" | LC_ALL=C awk -v C=$1 ' {
label=$2
x=gsub("\\.","_",label)