[Nagiosplug-help] check_disk

Michael Kingsbury beaker at beakerware.net
Mon Dec 23 13:32:03 CET 2002


Reverse them; ./check_disk -w 20% -c 10% -p /dev/hdxx. 

Its amount free, not total used when using percentages.


-mike
-----Original Message-----
From: Bryan Bowersock [mailto:bryanb at genesisgroup.com] 
Sent: Monday, December 23, 2002 4:23 PM
To: nagiosplug-help at lists.sourceforge.net
Subject: [Nagiosplug-help] check_disk


I am trying to configure the check_disk plugin for my Nagios server and
was hoping to gain a little insight as how the command is actually
applied.

Here is what I am trying to do:

Monitor /dev/hdxx to display a warning message if over 80% capacity
Monitor /dev/hdxx to display a critical message if over 90% capacity

>From the --help I was led to believe the command would look like this:

./check_disk -w 80% -c 90% -p /dev/hdxx

This is the error I am receiving:

INPUT ERROR: C_DFP (90.000000) should be less than W_DFP (80.000000) and
both should be between zero and 100 percent, inclusive

Please help!  Thanks.

BryanB.




More information about the Help mailing list