diff --git a/check_zfs_zpool.py b/check_zfs_zpool.py index 6f099bd..98816f5 100755 --- a/check_zfs_zpool.py +++ b/check_zfs_zpool.py @@ -209,7 +209,7 @@ def main(args): 'value': int(float(float_to_percent(pool_status['capacity']).strip('%'))), 'warn': args.warning_free, 'crit': args.critical_free, 'min': 0, 'unit': '%' }, 'size': { - 'value': filesize(pool_status['size'], spaces=False, formatter=False), 'min': 0 + 'value': filesize(pool_status['size'], spaces=False, formatter=True), 'min': 0 }, 'fragmentation': { 'value': int(float(float_to_percent(pool_status['fragmentation']).strip('%'))), 'warn': float_to_percent(warning_frag_float).strip('%'), 'crit': float_to_percent(critical_frag_float).strip('%'), 'min': 0, 'unit': '%'