Both -p & --partition have been tried. Whether I use /dev/VolGroup00/LogVol01 or /dev/mapper/VolGroup00-LogVol01 I get the same error
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 /dev/VolGroup00/LogVol01 check_disk: Could not parse arguments It's completely useless on this machine since anything worth monitoring is on lvm or raid... Raid gives the same... [EMAIL PROTECTED] VolGroup00]# /usr/libexec/nagios/check_disk -w 10% -c 5% --partition /dev/md0 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 /dev/md0 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] I've tried with and without ''s. Still the same. Selinux *shouldn't* shouldn't be enabled, though fedora probably requires it as a dependency to even wipe my arse. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Powell Sent: 31 July 2006 13:28 To: nagios-users@lists.sourceforge.net Cc: [EMAIL PROTECTED] Subject: Re: [Nagios-users] BUG: check_disk doesn't support LVM volumes > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Martin J. Green > Sent: Monday, July 31, 2006 5:18 AM > To: nagios-users@lists.sourceforge.net > Cc: [EMAIL PROTECTED] > Subject: [Nagios-users] BUG: check_disk doesn't support LVM volumes > > When you try to check an LVM partition, this happens... > > > > /check_disk -w 10% -c 5% --partition /dev/mapper/VolGroup00-LogVol01 > > > > 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 > /dev/mapper/VolGroup00-LogVol01 > > 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] > > > > In the end, the only way to check it is to check it without specifiying a > partition (excepting all others if u wish). Please fix? It works fine here -- $ cat /etc/redhat-release CentOS release 3.6 (Final) $ ./check_disk -V check_disk (nagios-plugins 1.4.3) 1.64 /dev/Volume00/LogVol01 on /usr type ext3 (rw) $ ./check_disk -w 10% -c 5% --partition=/dev/Volume00/LogVol01 DISK OK - free space: /usr 7733 MB (79% inode=95%);| /usr=2110MB;8857;9349;95;9842 $ ./check_disk -w 10% -c 5% -p /usr DISK OK - free space: /usr 7733 MB (79% inode=95%);| /usr=2110MB;8857;9349;95;9842 Do you see the error if you specify the path instead of the mountpoint? What OS are you using? Do you have SELinux enabled? If so, see if SELinux is blocking access. -- Marc ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null