1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-08-03 14:48:22 +00:00

Fixed the other ipvs plugins too regarding UDP detection

This commit is contained in:
Tom Hendrikx 2013-06-17 12:09:53 +02:00
parent 267c45f904
commit f349130b3f
3 changed files with 5 additions and 5 deletions

View file

@ -66,7 +66,7 @@ ipvsadm -l -n --rate| nl > $F1
for IP in $IPLIST; do
COUNT=`cat $F1 | grep TCP | grep $IP | awk '{print $4}'`
COUNT=`cat $F1 | grep -e TCP -e UDP | grep $IP | awk '{print $4}'`
NM=`echo $IP | md5sum | cut -d - -f1 | sed 's/ //g' | cut -b 5-9`
echo a$NM.value $COUNT