[Nagiosplug-devel] check_disk --megabytes doesn't work

Chris Pepper pepper at reppep.com
Mon May 18 16:17:31 CEST 2009


	The help says I can use --megabytes, but when I do it eats the -w 
argument and causes an error.

http://nagiosplugins.org/man/check_disk

Chris

 > maguro:~ # /usr/local/nagios/libexec/check_disk -m -w 3% -c 1% -p /
 > DISK OK - free space: / 3912 MB (81% inode=96%);| 
/=873MB;4889;4990;0;5041
 > maguro:~ # /usr/local/nagios/libexec/check_disk --megabytes -w 3% -c 
1% -p /
 > DISK CRITICAL - 3% is not accessible: No such file or directory
 > maguro:~ # /usr/local/nagios/libexec/check_disk --version
 > check_disk v2025 (nagios-plugins 1.4.13)

-- 
Chris Pepper:                <http://cbio.mskcc.org/>
                              <http://www.extrapepperoni.com/>




More information about the Devel mailing list