1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 22:25:23 +00:00
This commit is contained in:
northox 2011-09-24 17:56:22 +02:00 committed by Steve Schnepp
parent 9ae7e3a9f7
commit 09f96c3da0

View file

@ -6,8 +6,6 @@ if [ "$1" = "config" ]; then
echo "used.label Used"
echo "total.label Total"
echo "free.label Free"
echo "swap.label Swap used"
echo "swapt.label Swap total"
exit 0
fi
@ -30,13 +28,9 @@ function spliter(v, i) {
used = scale(spliter($3,2));
free = scale($6);
total = used + free;
swap = scale(spliter($8,1));
swapt = scale(spliter($8,2));
print "acti.value", acti
print "used.value", used
print "total.value", total
print "free.value", free
print "swap.value", swap
print "swapt.value", swapt
}'