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:
parent
267c45f904
commit
f349130b3f
3 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue