There is a way to get the size output in GB? See below.
[nagios@jhsnagac ~]$ /usr/local/nagios/libexec/check_nrpe -2 -H 10.29.96.31 -t 60 -c check_files -a path='M:' 'filter=size gt 700G' top-syntax='${status}: ${count} files found ${problem_list}' 'empty-state=ok' 'warn=size>700G' 'crit=size>1000G' detail-syntax='${name} ${size} bytes'
WARNING: 1 files found MDB16.edb 890400407552 bytes
I would like to know how If may I get size in GB instead 890400407552 bytes. It is easier to manage for us being in GB. Thanks for your support.
There is a way to get the size output in GB? See below.
[nagios@jhsnagac ~]$ /usr/local/nagios/libexec/check_nrpe -2 -H 10.29.96.31 -t 60 -c check_files -a path='M:' 'filter=size gt 700G' top-syntax='${status}: ${count} files found ${problem_list}' 'empty-state=ok' 'warn=size>700G' 'crit=size>1000G' detail-syntax='${name} ${size} bytes'
WARNING: 1 files found MDB16.edb 890400407552 bytes
I would like to know how If may I get size in GB instead 890400407552 bytes. It is easier to manage for us being in GB. Thanks for your support.