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

Martin J. Green mgreen at altien.com
Mon Jul 31 14:55:18 CEST 2006


If I specify path, I get the exact same error.

But if you look at the error returned by the plugin - its complaining
about the values of -w and -c - surely its parsing it wrong (possibly
because its being passed back something it doesn't understand?)

M



> -----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

------------------------------------------------------------------------
-
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 at 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




More information about the Help mailing list