Disk space alert based on GB
Posted: Thu May 06, 2021 2:25 am
Hi Team,
I am trying to set the disk space alerts based on GB instead of % since the disk size is large.
So I set critical alert at free space less than 200 GB. The drive size is 14 TB. I used the below command in the argument.
-t 'xxxxxxxx' -P 5693 -M 'disk/logical/M:|/free' -w 250 -c 200: -u G
When I run it to see the result I get this
OK: Free was 2116.22 GB | 'free'=2116.22GB;250:;200:;
But the actual free size on the drive is 1.92 TB = 1966 GB. So there is a difference of 160 GB.
When I changed GB to MB in the command the difference was down to 100 GB.
So is it because of conversion ? Still looks like a huge difference when setting up the alerts. Do you guys have any advise?
I am trying to set the disk space alerts based on GB instead of % since the disk size is large.
So I set critical alert at free space less than 200 GB. The drive size is 14 TB. I used the below command in the argument.
-t 'xxxxxxxx' -P 5693 -M 'disk/logical/M:|/free' -w 250 -c 200: -u G
When I run it to see the result I get this
OK: Free was 2116.22 GB | 'free'=2116.22GB;250:;200:;
But the actual free size on the drive is 1.92 TB = 1966 GB. So there is a difference of 160 GB.
When I changed GB to MB in the command the difference was down to 100 GB.
So is it because of conversion ? Still looks like a huge difference when setting up the alerts. Do you guys have any advise?