mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 14:16:00 +00:00
Area stack children
This commit is contained in:
parent
3dd825dd62
commit
13f9ba7a61
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue