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

Area stack children

This commit is contained in:
Nye Liu 2016-10-26 14:15:48 -07:00
parent 3dd825dd62
commit 13f9ba7a61

View File

@ -56,12 +56,14 @@ case $1 in
print $2 "_" $3 "_" $4 ".min 0";
print $2 "_" $3 "_" $4 ".cdef " $2 "_" $3 "_" $4 ",8,*";
}'
# TODO: only AREASTACK things with no children
# the child(s)
mytc $DEVICE | grep " parent " | tr "_" " " | awk '{
print $2 "_" $3 "_" $4 ".label " $2 "/" $3 ":" $4;
print $2 "_" $3 "_" $4 ".type DERIVE";
print $2 "_" $3 "_" $4 ".min 0";
print $2 "_" $3 "_" $4 ".cdef " $2 "_" $3 "_" $4 ",8,*";
print $2 "_" $3 "_" $4 ".draw AREASTACK";
}'
exit 0
;;