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:
parent
4d2d1fb94b
commit
c8df9ab4e9
@ -36,20 +36,17 @@ if [ "$1" = "config" ]; then
|
||||
# free_memory 1476
|
||||
name=$(echo "$name" | sed -e"s/-/_/")
|
||||
|
||||
if [ "$name" = "total_memory" ] || [ "$name" = "free_memory" ]; then
|
||||
echo "$name.label $name"
|
||||
echo "$name.type GAUGE"
|
||||
echo "$name.draw AREASTACK"
|
||||
echo "$name.min 0"
|
||||
if [ "$name" = "total_memory" ]; then
|
||||
echo "$name.label $name"
|
||||
echo "$name.type GAUGE"
|
||||
echo "$name.min 0"
|
||||
echo "$name.info total memory"
|
||||
fi
|
||||
if [ "$name" = "free_memory" ]; then
|
||||
echo "$name.label $name"
|
||||
echo "$name.type GAUGE"
|
||||
echo "$name.draw AREA"
|
||||
# echo "$name.draw STACK"
|
||||
echo "$name.min 0"
|
||||
elif [ "$name" = "free_memory" ]; then
|
||||
echo "$name.info free memory"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
exit 0
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user