<div>dear Ralph,</div>  <div> </div>  <div>My  check_disk2 command only outputs that - "the disk is /dev/hdb1 OK" but it does not show any details. actually, i want to know the free space of the "/ " partition of my remote host. </div>  <div> </div>  <div>I would like to know the little modification which is required to make "check_disk1" or "check_disk2 " to show the status of the root partition of the remote host.</div>  <div> </div>  <div>please help</div>  <div> </div>  <div>regards,</div>  <div>Towfique Hasan</div>  <div><BR><B><I>Ralph.Grothe@itdz-berlin.de</I></B> wrote:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">I am not quite sure,<BR>but I think the check commands in nrpe.cfg must refer to actual<BR>executables on the nrpe host, i.e. where the nrpe daemon is<BR>running<BR>stand-alone, or by (x)inetd, depending on your nrpe<BR>configuration.<BR>So if you do an<BR><BR>ls
 /usr/local/nagios/libexec/check_local_disk<BR><BR>would most likely yield a "no such file or directory" error.<BR><BR>But doesn't your check_disk2 command definition, which looks ok,<BR>satisfy your needs?<BR><BR><BR>-----Original Message-----<BR>From: nagiosplug-help-bounces@lists.sourceforge.net<BR>[mailto:nagiosplug-help-bounces@lists.sourceforge.net]On Behalf<BR>Of Doctor Doo<BR>Sent: Monday, December 04, 2006 12:57 PM<BR>To: Nagios Lifeline<BR>Subject: Re: [Nagiosplug-help] how can i check root partition<BR>space of aremotehost<BR><BR><BR><BR><BR>Ralph.Grothe@itdz-berlin.de wrote: <BR>> i have nrpe add on on a remote host. its configuration is ok. i<BR>can check its disk status.<BR>> But I cannot monitor the root partition of the remote host.<BR><BR>I think it would be helpful if you posted the command definition<BR>for the check_disk from<BR>the nrpe.cfg on your to be checked
 host.<BR>-----------------------------------------------------------------<BR>----------<BR><BR>I have made a little modification of the default configuration<BR>file. i have copied "check_local_disk" command from the NAGIOS<BR>host to the remote host's nrpe.cfg -<BR>============================================================<BR>nrpe.cfg<BR>============================================================<BR><BR># The following examples use hardcoded command arguments...<BR><BR>command[check_users]=/usr/local/nagios/libexec/check_users -w 5<BR>-c 10<BR>command[check_load]=/usr/local/nagios/libexec/check_load -w<BR>15,10,5 -c 30,25,20<BR>command[check_disk1]=/usr/local/nagios/libexec/check_local_disk!2<BR>0%!10%!/<BR>command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 20<BR>-c 10 -p /dev/hdb1<BR>command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs<BR>-w 5 -c 10 -s Z<BR>command[check_total_procs]=/usr/local/nagios/libexec/check_procs<BR>-w 150 -c 200
 <BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>Need a quick answer? Get one in minutes from people who know. Ask<BR>your question on Yahoo! Answers.<BR></BLOCKQUOTE><BR><BR><BR><br><p>

<hr size=1>Access over 1 million songs - <a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/">Yahoo! Music Unlimited.</a>