This commit is contained in:
Cyberes 2024-02-23 16:48:28 -07:00
parent b6c223e391
commit 432da14dfd
1 changed files with 1 additions and 1 deletions

View File

@ -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': '%'