[Nagiosplug-help] [Nagios-users] BUG: check_disk doesn't support LVM volumes

Marc Powell marc at ena.com
Mon Jul 31 14:28:28 CEST 2006



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Martin J. Green
> Sent: Monday, July 31, 2006 5:18 AM
> To: nagios-users at lists.sourceforge.net
> Cc: nagiosplug-help at lists.sourceforge.net
> 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




More information about the Help mailing list