Monitoring Disk Space

Elijah Savage esavage at digitalrage.org
Tue May 17 04:27:08 CEST 2005


Not sure if this will help but here is how I got it to work, right from
my config file.

# 'check_local_disk' command definition
define command{
        command_name    check_local_disk
        command_line    $USER1$/check_disk -w 20% -c 10% -p / 



-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc
Powell
Sent: Monday, May 16, 2005 5:09 PM
To: nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Monitoring Disk Space



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- 
> admin at lists.sourceforge.net] On Behalf Of fmapconsulting at aol.com
> Sent: Monday, May 16, 2005 2:27 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Monitoring Disk Space
> 
> Hi,
> 
> I would like to understand what the sintax args in disk space monitor 
> means....
> 
> I've put into my config file the following line:
> 
> check_local_disk!40%!10%!/dev/hda2
> 
> I've read that the first arg is Warning end the second one is
critical...
> I don't understanding the fact that my server has about 34% of file
system
> used and nagios is showing me as critical disk space....
> 
> According to the above line, the warning should be when disk would
have
> 40% space left... and critical when disk would have 10% space left....
Am
> I right?

We can't guess. We'd need to see the actual command definition for
check_local_disk to see if 

	1) the arguments were even being used
	2) which was used for warning and which for critical.

40% would be $ARG1$, 10% would be $ARG2$ and '/dev/hda2' would be
$ARG3$. That's all we can really say.

--
Marc 


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be
the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&op=ick
_______________________________________________
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




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&op=click
_______________________________________________
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 Users mailing list