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

Plguin xen_memory: change 'draw' style from lines to AREASTACK

This commit is contained in:
Lars Kruse 2018-08-01 23:53:04 +02:00
parent 4d2d1fb94b
commit c8df9ab4e9

View File

@ -36,20 +36,17 @@ if [ "$1" = "config" ]; then
# free_memory 1476 # free_memory 1476
name=$(echo "$name" | sed -e"s/-/_/") name=$(echo "$name" | sed -e"s/-/_/")
if [ "$name" = "total_memory" ]; then if [ "$name" = "total_memory" ] || [ "$name" = "free_memory" ]; then
echo "$name.label $name" echo "$name.label $name"
echo "$name.type GAUGE" echo "$name.type GAUGE"
echo "$name.draw AREASTACK"
echo "$name.min 0" echo "$name.min 0"
echo "$name.info total memory" if [ "$name" = "total_memory" ]; then
fi echo "$name.info total memory"
if [ "$name" = "free_memory" ]; then elif [ "$name" = "free_memory" ]; then
echo "$name.label $name" echo "$name.info free memory"
echo "$name.type GAUGE" fi
echo "$name.draw AREA" fi
# echo "$name.draw STACK"
echo "$name.min 0"
echo "$name.info free memory"
fi
done done
exit 0 exit 0
fi fi