diff --git a/salt/telegraf/scripts/suriloss.sh b/salt/telegraf/scripts/suriloss.sh index cc2cff94c..7ef8de2ee 100644 --- a/salt/telegraf/scripts/suriloss.sh +++ b/salt/telegraf/scripts/suriloss.sh @@ -44,7 +44,7 @@ if [ $CHECKIT == 2 ]; then TOTALPAST=$(($PASTPACKETS + $PASTDROP)) TOTAL=$(($TOTALCURRENT - $TOTALPAST)) - LOSS=$(echo $DROPPED $TOTAL / p | dc) + LOSS=$(echo 4 k $DROPPED $TOTAL / p | dc) echo "suridrop drop=$LOSS" fi else