mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
indentation fix
added same indentation of the echo as all the rest in the for loop
This commit is contained in:
parent
f6dbe9bd57
commit
c35eee0255
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ for i in `zfs list -Hp | awk '{print $1}'`; do
|
|||
values=( $(zfs get -p usedbydataset,usedbychildren,usedbysnapshots,usedbyrefreservation,available,quota $i | awk 'BEGIN {total=0;} { if( NR==1 ) next; } !/quota/ {total=total+$3;} {print $3} END{print total;}') )
|
||||
fsname=$(clean_fieldname $(echo "$i" | sed 's/\//__/g'))
|
||||
|
||||
echo <<EOF "multigraph zfs_list_$fsname
|
||||
echo <<EOF "multigraph zfs_list_$fsname
|
||||
usedbydataset.value ${values[0]}
|
||||
usedbysnapshots.value ${values[2]}
|
||||
usedbychildren.value ${values[1]}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue