Hello, a bug is present in nagios-plugins-1.4.3 which makes the check_disk command fail when the -p option is used. (I forgot to save the output, so I took the output from <URL:http://permalink.gmane.org/gmane.linux.debian.devel.bugs.general/102457>) | joostje <at> muso:/$ /usr/lib/nagios/plugins/check_disk -w 10% -c 5% -p /tmp | INPUT ERROR: C_IDFP (0.000000) should be less than W_IDFP (0.0) and both should be between zero and 100 percent, inclusive for /tmp | check_disk: Could not parse arguments | Usage: check_disk -w limit -c limit [-p path | -x device] [-t timeout][-m] [-e] [-W limit] [-K limit] [-v] [-q] The fix is already in CVS: <URL:http://nagiosplug.cvs.sourceforge.net/nagiosplug/nagiosplug/plugins/check_disk.c?r1=1.64&r2=1.65&diff_format=u> I will attach the patch and the patch for the nagios-plugins-1.4.3.ebuild I used. Regards, Milan
Created attachment 90621 [details, diff] patch from CVS patch from http://nagiosplug.cvs.sourceforge.net/nagiosplug/nagiosplug/plugins/check_disk.c?r1=1.64&r2=1.65&diff_format=u
Created attachment 90622 [details, diff] patch for the ebuild adding appropriate epatch patch for the ebuild adding appropriate epatch, in case it is useful for you
Thanks! Fixed in cvs as -r1.