diff --git a/plugins/zfs/zpool_iostat b/plugins/zfs/zpool_iostat index a59321c3..d3096897 100755 --- a/plugins/zfs/zpool_iostat +++ b/plugins/zfs/zpool_iostat @@ -82,12 +82,12 @@ get_pool_fieldname() { } if [ "$ACTION" = "config" ]; then - echo 'graph_title zpool iostat' - echo 'graph_args --base 1000 -l 0' - echo 'graph_vlabel write - read KBytes/s' - echo 'graph_category disk' - echo 'graph_scale no' - echo 'graph_info This graph shows zpool iostat' + echo 'graph_title zpool iostat' + echo 'graph_args --base 1000 -l 0' + echo 'graph_vlabel write - read KBytes/s' + echo 'graph_category disk' + echo 'graph_scale no' + echo 'graph_info This graph shows zpool iostat' # assemble the "graph_order" as a sorted list of read/write pairs for each poll printf "graph_order" echo "$zlist" | while read -r pool_id; do @@ -105,8 +105,8 @@ if [ "$ACTION" = "config" ]; then echo "${fieldname}_write.label $pool_id" echo "${fieldname}_write.type GAUGE" echo "${fieldname}_write.negative ${fieldname}_read" - done - exit 0 + done + exit 0 fi echo "$zlist" | while read -r pool_id; do fieldname="$(get_pool_fieldname "pool_$pool_id")"