[Nagiosplug-devel] check_disk can't handle very large partitions

Litwin, Matthew mlitwin at stubhub.com
Mon Dec 28 20:34:09 CET 2009


Hi, I am finding that the check_disk plugin (compiled for Solaris 10) does not handle large partitions and will invariably report 0% for them. I am not sure what the cutoff for this is, but it is the case for a 7.1TB partition.

I have been looking for a revision history for this plugin to see if this has been fixed since this version, but I am unable to find it.

Is there a revision 

-bash-3.00$ ./check_disk -V
check_disk v1848 (nagios-plugins 1.4.11)
-bash-3.00$ df -mh | grep /mnt 
                    7.1T  4.5T  2.6T  64% /mnt/oracle_stage01
                    1.5T  847G  672G  56% /mnt/oracle_stage02
-bash-3.00$ ./check_disk -w 90 -c 95  -R /mnt/oracle_stage02
DISK OK - free space: /mnt/oracle_stage02 687264 MB (44% inode=100%);| /mnt/oracle_stage02=866399MB;1553574;1553569;0;1553664
-bash-3.00$ ./check_disk -w 90 -c 95  -R /mnt/oracle_stage01
DISK CRITICAL - free space: /mnt/oracle_stage01 0 MB (0% inode=-107400410755%);| /mnt/oracle_stage01=2147483647MB;2147483647;2147483647;0;2147483647

Thanks,
Matthew Litwin
mlitwin at stubhub.com
415.222.8475





More information about the Devel mailing list